8000 Add files via upload · robinboot/Powershell-Scripts@a0a59bf · GitHub
[go: up one dir, main page]

Skip to content

Commit a0a59bf

Browse files
authored
Add files via upload
1 parent 9e783e2 commit a0a59bf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Powershell Progress Bar Sample.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
for($I = 1; $I -lt 101; $I++ )
2+
{
3+
Write-Progress -Activity Updating -Status 'Progress->' -PercentComplete $I -CurrentOperation OuterLoop
4+
for($j = 1; $j -lt 101; $j++ )
5+
{
6+
Write-Progress -Id 1 -Activity Updating -Status 'Progress' -PercentComplete $j -CurrentOperation InnerLoop
7+
}
8+
}

0 commit comments

Comments
 (0)
0