NAME

Out-Grid

SYNOPSIS

Displays data from the pipeline in a grid.

SYNTAX

Out-Grid [-Include <String[]>] [-Exclude <String[]>] [-Input <PSObject>] [-Name <String>] [<CommonParameters>]

DESCRIPTION

Displays pipeline data in a grid. Input object properties are isolated in columns.

PARAMETERS

-Include <String[]>
The list of input object properties to include in the grid. Wildcard patterns are accepted.

Required?
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true


-Exclude <String[]>
The list of input object properties to exclude from the grid. Wildcard patterns are accepted.

Required?
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true


-Input <PSObject>
The list of objects to display in the grid.

Required?
Position? named
Default value
Accept pipeline input? true
Accept wildcard characters? false


-Name <String>
The name of the data pane in which to display the grid.

Required?
Position? named
Default value Data
Accept pipeline input? false
Accept wildcard characters? false


<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS

PSObject

OUTPUTS

None.

NOTES




EXAMPLES

EXAMPLE 1

C:\PS&gt;ls | out-grid -name files

Displays the contents of the current directory in a grid. The grid is placed in a data pane named "files". All properties of each file info item are displayed in the grid.

EXAMPLE 2

DTE:\Solution\CodeModel\MyProject\Program.cs&gt;ls -recurse | out-grid -include Name,Kind

Displays every code element in Program.cs in a grid. Only the Name and Kind properties are displayed.

RELATED LINKS

Out-Grid
Out-Chart
Out-HTML

Last edited Dec 30, 2011 at 3:41 AM by beefarino, version 1

Comments

No comments yet.