Cmdlet
New-ConsoleRows
Stacks console widgets vertically.
Syntax
New-ConsoleRows [-Content] <ScriptBlock> [-Fill] [-Gap <Int32>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Stacks console widgets vertically.
Children emitted by the scriptblock are placed top to bottom. In a live dashboard, children created with -Fill or -Weight share the remaining height.
Examples
EXAMPLE 1
New-ConsoleRows -Content { }Parameters
- -Content ScriptBlock
- Scriptblock that emits the child widgets.
- -Fill SwitchParameter
- Take the remaining height of a live dashboard.
- -Gap Int32
- Blank rows between children.
- -Weight Double
- Share of the space this group takes inside its parent.
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.