You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To hide a progress bar explicitly, you call Write-Progress -Completed
Doing so currently requires that an -Activity argument be passed as well, even though that shouldn't be necessary, given that such an argument is only relevant for displaying the progress bar, not when hiding it.
Therefore, Write-Progress -Completed by itself should be sufficient to hide a progress bar (potentially combined with -Id to disambiguate, should multiple ones have been created).
To hide a progress bar explicitly, you call
Write-Progress -CompletedDoing so currently requires that an
-Activityargument be passed as well, even though that shouldn't be necessary, given that such an argument is only relevant for displaying the progress bar, not when hiding it.Therefore,
Write-Progress -Completedby itself should be sufficient to hide a progress bar (potentially combined with-Idto disambiguate, should multiple ones have been created).Steps to reproduce
Expected behavior
The progress bar should display, then disappear, followed by output
'Done'.Actual behavior
Write-Progress -Completedunexpectedly prompts for an-Activityparameter value.Environment data