Cmdlet
Get-ConsoleCapability
Shows what ConsoleMonster detected about the current terminal.
Syntax
Get-ConsoleCapability [-Refresh] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Shows what ConsoleMonster detected about the current terminal.
Returns the terminal profile: kind, mode (Interactive, Stream, Plain), colour depth, glyph tier, size, VT support, console font and the reasons behind each decision. -Refresh detects again (after a resize or font change).
Examples
EXAMPLE 1
Get-ConsoleCapability -RefreshParameters
- -Refresh SwitchParameter
- Detect again instead of returning the cached profile.
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.