Cmdlet
Get-ConsoleFormatting
Shows the formatting features enabled in this runspace.
Syntax
Get-ConsoleFormatting
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
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-ConsoleFormattingInspect 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.