Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Out-GridView

Out-GridView - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Sends output to an interactive table in a separate window.

Out-GridView [-InputObject <psobject>] [-Title <string>] [<CommonParameters>]

The Out-GridView cmdlet sends the output from a command to a grid view window where the output is displayed in an i
nteractive table.  This feature requires Microsoft .NET Framework 3.5 with Service Pack 1. 

You can use the following features of the table to examine your data:

-- Hide, Show, and Reorder Columns: To hide, show, or reorder a column, right-click a column header and then click 
"Select Columns."

-- Sort. To sort the data, click a column header. Click again to toggle from ascending to descending order.

-- Quick Filter. Use the "Filter" box at the top of the window to search the text in the table. You can search for 
text in a particular column, search for literals, and search for multiple words. 

-- Criteria Filter. Use the "Add criteria" drop-down menu to create rules to filter the data. This is very useful f
or very large data sets, such as event logs.

-- Copy and paste. To copy rows of data from Out-GridView, press CTRL+C (copy). You can paste the data into any tex
t or spreadsheet program.

For instructions for using these features, type "get-help out-gridview -full" and see "How to Use the Grid View Win
dow Features" in the NOTES section.