Cmdlet
New-ConsoleGrid
Lays console widgets out in an equal-width grid.
Syntax
New-ConsoleGrid [-Columns <Int32>] [-Content] <ScriptBlock> [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Lays console widgets out in an equal-width grid.
Children fill the grid row by row. When columns would become narrower than 24 cells the grid uses fewer columns.
Examples
EXAMPLE 1
New-ConsoleGrid -Content { }Parameters
- -Columns Int32
- Number of columns (default 2).
- -Content ScriptBlock
- Scriptblock that emits the cells.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.