Cmdlet
Update-ConsoleProgress
Updates a progress bar in a running dashboard.
Syntax
Update-ConsoleProgress [-Increment <Double>] [-Label <Object>] [[-Name] <String>] [-Session <LiveSession>] [-Status <StatusKind>] [-Total <Double>] [-Value <Double>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Updates a progress bar in a running dashboard.
-Value sets the value, -Increment adds to it, -Label renames the bar and -Status sets a final state that recolours it.
Examples
EXAMPLE 1
Update-ConsoleProgress -Name 'Name'Parameters
- -Increment Double
- Amount to add to the value.
- -Label Object
- A new label.
- -Name String
- The progress bar name (default progress).
- -Session LiveSession
- The live session to update. Defaults to $ConsoleSession or the running dashboard.
- -Status StatusKind
- A final status (Pass, Fail, Warn).
- Possible values:
Pending,Running,Pass,Fail,Warn,Skip,Info - -Total Double
- A new total.
- -Value Double
- The new value.
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.