Skip to content
ConsoleMonster
Cmdlet

Get-ConsoleCapability

Module ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Capabilities.TerminalProfile

Shows what ConsoleMonster detected about the current terminal.

Syntax

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

Description

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

Authored help example

EXAMPLE 1

Get-ConsoleCapability -Refresh

Parameters

-Refresh SwitchParameter optional
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.