r/PowerShell • u/icebreaker374 • Sep 17 '26
Question Write-Progress
Looking for opinions...
When using Write-Progress inside of for/Foreach loops and using a counter stored in a variable defined outside the loop, do you start the counter at 0 or 1, and why?
14
Upvotes
View all comments
Show parent comment
1
u/FeleaseRpseineEiles Sep 19 '26 edited Sep 19 '26
what's "progress" ? why would there even be a -completed parameter?