- Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productOS-LinuxOS-macOSResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Description
If I embed a write-progress inside of a for loop, it works properly.
But if I'm trying to use write-progress to indicate progress within just a sequence of commands in a script... no dice.
In Windows Powershell, I use this frequently so I can have the master progress bar show which phase of the script I'm in, and the sub-progress bars show progress within those phases (usually looped)
Steps to reproduce
write-progress"something"start-sleep5Expected behavior
I should see "something" show up in a progress bar. Actual behavior
I see nothing in PS 6. (If I use PS 5.1 or earlier in Windows, it works perfectly) Environment data
>$PSVersionTable Name Value --------- PSVersion 6.0.0-rc.2 PSEdition Core GitCommitId v6.0.0-rc.2 OS Darwin 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 918:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X8... Platform Unix PSCompatibleVersions{1.0,2.0,3.0,4.0...} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0mklement0
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productOS-LinuxOS-macOSResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module