PowerShell Language Reference (Write-Progress)
Windows Command Lines
Other Command Line Utilities
Write-Progress [-activity] <string> [-status] <string> [[-id] <int>] [-percentComplete <int>] [-secondsRemaining <int>] [-currentOperation <string>] [-parentId <int>] [-completed] [-sourceId <int>] [<CommonParameters>]
Displays a progress bar within a Windows PowerShell command window.
Whether the progress bar is displayed is controlled by the $ProgressPreference variable. To see the value of that variable, type $ProgressPreference. Valid valuesfor the variable are: SilentlyContinue, Continue, Stop and Inquire. If the value is set to SilentlyContinue, no progress information is displayed in the console. To set the value of variable for the session, type $ProgressPreference = "". Write-Progress can use data about the state of a running command or script to provide a visual indication of progress within the console window.
Microsoft (built-in help)
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: . This page has been viewed 2456 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Write-Verbose Write-Error Write-Host Write-Debug Write-Output Write-Warning
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."