Summary : Learn how to display a progress bar by using Windows PowerShell.
How can I easily display a progress bar by using Windows PowerShell?
Use the Write-Progress cmdlet:
for ($i = 1; $i -le 100; $i++) {Write-Progress -Activity 'counting… Read the full text.