Skip to content
ConsoleMonster
Cmdlet

Show-ConsolePrompt

Module
ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.ShellPrompt

Previews the ConsoleMonster shell prompt without installing it.

Syntax

Show-ConsolePrompt
[-AsWidget]
[-Preset <Plain|Powerline|Diamond|*>]
[-Width <Int32>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Example 1

Show-ConsolePrompt -Preset *

Preview all built-in prompt presets

Parameters

-AsWidget SwitchParameter optional
Return the prompt widgets for composition or export.
-Preset String optional
A built-in preset. Use * to preview all presets, each under its name, or omit it to preview the current configuration.
Possible values: Plain, Powerline, Diamond, *
-Width Int32 optional
The preview width in terminal columns. Zero uses the current output width.

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.