Cmdlet
Update-ConsoleStatus
Updates an item of a status list in a running dashboard.
Syntax
Update-ConsoleStatus [-Detail <String>] [-Key] <String> [-Label <Object>] [-Name <String>] [-Session <LiveSession>] [-Status <StatusKind>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Updates an item of a status list in a running dashboard.
Adds the item when it does not exist. -Detail shows a right-aligned muted note such as a duration.
Examples
EXAMPLE 1
Update-ConsoleStatus -Key 'Value'Parameters
- -Detail String
- A right-aligned detail.
- -Key String
- The item key.
- -Label Object
- The item label (markup allowed).
- -Name String
- The status list name (default status).
- -Session LiveSession
- The live session to update. Defaults to $ConsoleSession or the running dashboard.
- -Status StatusKind
- The new status.
- Possible values:
Pending,Running,Pass,Fail,Warn,Skip,Info
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.