Skip to content
ConsoleMonster
Cmdlet

Write-ConsoleRule

Module ConsoleMonster
Inputs
None

Writes a horizontal rule, optionally with a title.

Syntax

Write-ConsoleRule [[-Title] <Object>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Writes a horizontal rule, optionally with a title.

A quick section separator for scripts.

Examples

Authored help example

EXAMPLE 1

Write-ConsoleRule -Title 'Value'

Parameters

-Title Object optionalposition: 0
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.