Cmdlet
Get-ConsolePrompt
Gets the prompt configuration or the most recent segment observations.
Syntax
Get-ConsolePrompt
[-Segment]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
Get-ConsolePrompt -Segment | Sort-Object -Property Duration -DescendingCheck the most recent segment values and probe timings
Parameters
- -Segment SwitchParameter
- Report each observed segment's last value, probe duration, age and staleness.
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.