Handling multiple auto-incrementing progress bars in PowerShell

Screenshot of script extract

When writing scripts it is often useful to know which step is currently being executed. We can do this by periodically printing a status message to the screen but PowerShell provides a more elegant way in the form of the Write-Progress cmdlet. Using this cmdlet we can print the current status to the screen only … Read more