Quantcast
Viewing all articles
Browse latest Browse all 311

PowerShell Studio • Write-Progress only shows in Console and not when Debugging or otherwise

Product: PowerShell Studio 2024 (64 Bit)
Build: v5.8.241
OS: Windows 10.0.19045
PS Version(s): 5.1.19041.1, 7.3.4, 7.3.4


Not sure when this stopped working, but its not showing any more

Code:

$ProgressPreference = 'Continue'

for ($i = 1; $i -le 100; $i++ ) {
Write-Progress -Activity "Search in Progress" -Status "$i% Complete:" -PercentComplete $i
Start-Sleep -Milliseconds 250
}
Cordially,
Wøødy

Statistics: Posted by Woody_033 — Sun Apr 28, 2024 4:31 pm — Replies 0 — Views 5



Viewing all articles
Browse latest Browse all 311

Trending Articles