Steps to reproduce
$numProgressBars = 10
foreach ($i in 1..100)
{
$id = $i % $numProgressBars
Write-Progress $id -Id $id -PercentComplete $i
sleep -Milliseconds 50
}
Expected behavior
I expected the progress bars to behave nicely like this, except showing 10 activities:

This is a capture of $numProgressBars=8.
Actual behavior
Instead, the progress bars seem to jump around like this:

This is a capture $numProgressBars=10
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.1.0-preview.4
PSEdition Core
GitCommitId 6.1.0-preview.4
OS Microsoft Windows 6.3.9600
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Steps to reproduce
Expected behavior
I expected the progress bars to behave nicely like this, except showing 10 activities:
This is a capture of
$numProgressBars=8.Actual behavior
Instead, the progress bars seem to jump around like this:
This is a capture
$numProgressBars=10Environment data