diff --git a/scripts/write-progress-bar.ps1 b/scripts/write-progress-bar.ps1 new file mode 100644 index 00000000..ef4fbc2e --- /dev/null +++ b/scripts/write-progress-bar.ps1 @@ -0,0 +1,8 @@ +$progressBar = @('⣾','⣽','⣻','⢿','⡿','⣟','⣯','⣷') +$progressIndex = 0 + +do { + Write-Host "`r$($progressBar[$progressIndex]) Working on something..." -NoNewline + $progressIndex = ($progressIndex + 1) % $progressBar.Length + Start-Sleep -milliseconds 100 +} while ($true) \ No newline at end of file