PowerShell Language Reference (Write-Progress)
[ KiXtart VBScript Batch AutoIt HTA PowerShell Windows Command Lines Other Command Line Utilities ]Write-Progress (cmdlet)
Syntax
Write-Progress [-activity] <string> [-status] <string> [[-id] <int>] [-percentComplete <int>] [-secondsRemaining <int>] [-currentOperation <string>] [-parentId <int>] [-completed] [-sourceId <int>] [<CommonParameters>]
Description
Displays a progress bar within a Windows PowerShell command window.
Remarks
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 = "
Also see:
Write-Verbose Write-Error Write-Host Write-Debug Write-Output Write-Warning
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.
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."

iTripoli prides itself on providing top notch customer service
Find answers or open a ticket to ask directly, when opening a ticket we will suggest relavant articles to help you get answers as quickly and accurately as possible. Visit our support center now!



