Cmdlet
New-ConsoleProgress
Creates a labelled progress bar.
Syntax
New-ConsoleProgress [-Column <String[]>] [[-Label] <Object>] [-Name <String>] [-Shape <Block|Line>] [-Total <Double>] [-Value <Double>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a labelled progress bar.
Shows a bar with sub-cell precision for the glyph tier, the percentage and value/total. Update it live with Update-ConsoleProgress.
Examples
EXAMPLE 1
New-ConsoleProgress -Name 'Name'Parameters
- -Column String[]
- The columns of the row, in order: Standard, or any of Spinner, Description, Bar, Percent, Count, Elapsed, Remaining, Rate, ByteRate, Results and Status. Rate and Remaining are smoothed over the last 10 seconds. Without it the classic label, bar, percentage and count show.
- Possible values:
Standard,Spinner,Description,Bar,Percent,Count,Elapsed,Remaining,Rate,ByteRate,Results,Status - -Label Object
- The label (markup allowed).
- -Name String
- The live name (default progress).
- -Shape BarShape
- Bar shape: Line (thin stroke) or Block (solid blocks). Default Line.
- Possible values:
Block,Line - -Total Double
- The total (default 100).
- -Value Double
- The current 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.