Thursday, January 5, 2012

PoSh Tip: Output cmdlets

Output cmdlets in powershell v2

PS> get-command out-* | ft name

Name
----
out-default
out-file
out-gridview
out-host
out-null
out-printer
out-string

Out-Null: discards command output similar to $null redirect

Out-File: redirects command output to a file

Out-Printer: sends formatted output to the default printer 

Out-gridview: opens a formatted table in a modern windows interface

No comments:

Post a Comment