Created
August 3, 2015 11:38
-
-
Save AdamNaj/e7f776ff40618b96ea75 to your computer and use it in GitHub Desktop.
Live Update test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gci master:\ -rec | |
$colors = "Cyan", "Gray","Green","Magenta","Red","White","Yellow" | |
foreach($i in 1..20){ | |
foreach($j in 1..20){ | |
Write-Host ("{0:D3} " -f ($i*20+$j)) -ForegroundColor "$($colors[(Get-Random -Maximum $colors.Length)])" -no | |
Write-Progress -Activity "Line $i, column $j" -PercentComplete (($i*20+$j)/4.2) | |
Start-Sleep -Milliseconds 10 | |
} | |
Write-Host " " | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment