From 595fb27a47914aaabf3e908c84e44762add39c37 Mon Sep 17 00:00:00 2001 From: Gabe Date: Sat, 9 Aug 2025 16:38:30 +0000 Subject: [PATCH] Update Fun\Random/Fun Progress Bar.ps1 --- .../Fun Progress Bar.ps1" | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename Fun-Random/Fun Progress Bar.ps1 => "Fun\\Random/Fun Progress Bar.ps1" (97%) diff --git a/Fun-Random/Fun Progress Bar.ps1 "b/Fun\\Random/Fun Progress Bar.ps1" similarity index 97% rename from Fun-Random/Fun Progress Bar.ps1 rename to "Fun\\Random/Fun Progress Bar.ps1" index 208a9a0..a59d1a7 100644 --- a/Fun-Random/Fun Progress Bar.ps1 +++ "b/Fun\\Random/Fun Progress Bar.ps1" @@ -1,10 +1,10 @@ -$i = 0 -$total = 100 - -while ($i -lt $total) { - Write-Progress -Activity "Processing..." -Status "Progress: $($i / $total * 100)%" -PercentComplete ($i / $total * 100) - $i++ - Start-Sleep -Milliseconds 100 # Simulate work being done -} - +$i = 0 +$total = 100 + +while ($i -lt $total) { + Write-Progress -Activity "Processing..." -Status "Progress: $($i / $total * 100)%" -PercentComplete ($i / $total * 100) + $i++ + Start-Sleep -Milliseconds 100 # Simulate work being done +} + Write-Progress -Activity "Processing..." -Status "Completed!" -PercentComplete 100 -Completed \ No newline at end of file