external help file | Module Name | online version | schema |
---|---|---|---|
PowerShellLib-help.xml |
PowerShell-Lib |
2.0.0 |
Displays a progress bar.
Write-ProgressBar [-PercentComplete] <Int32> [-Activity <String>] [<CommonParameters>]
The "Write-ProgressBar" cmdlet displays a progress bar with a given progress percentage and a description of the currently running activity.
Write-ProgressBar -Activity "Checking ..." -PercentComplete $Index
The progress of the progress bar.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
A description of the activity that is running.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Processing
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
https://github.com/Dargmuesli/PowerShell-Lib/blob/master/PowerShell-Lib/Docs/Write-ProgressBar.md