Skip to content
ConsoleMonster
Cmdlet

Get-ConsoleFormatting

Module
ConsoleMonster
Inputs
None
Outputs
System.Management.Automation.PSObject

Shows the formatting features enabled in this runspace.

Syntax

Get-ConsoleFormatting
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Returns the enabled feature names, whether compact errors are enabled, and whether built-in views are included. A refused installation is not reported as enabled. AddOptIns shows how to add Help, Prompt, Progress or GridView.

Examples

Example 1

Enable-ConsoleFormatting -Include Help; Get-ConsoleFormatting

Inspect the current session's formatting

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.