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 = "". 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.

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!

Please visit our full support center to find answers quickly or submit questions or feedback.