Cmdlet
New-ConsoleRule
Creates a horizontal rule, optionally with a title.
Syntax
New-ConsoleRule [-Alignment <Left|Center|Right>] [[-Title] <Object>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a horizontal rule, optionally with a title.
The line uses the border colour and the glyph tier's line character.
Examples
EXAMPLE 1
New-ConsoleRule -Alignment 'Value'Parameters
- -Alignment HorizontalAlignment
- Title alignment: Left, Center or Right.
- Possible values:
Left,Center,Right - -Title Object
- The title (markup allowed).
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.