Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [string[]]$colours = @( 'Cyan' , 'Yellow' , 'Green' , 'Red' , 'White' )
- [int]$i=0;while(1){ $i++ ; Write-Host -ForegroundColor $colours[$i % 5] -Object "$(1..$i|%{ ' ' })$(Get-date -format "HH:mm:ss")`n" ; sleep 1; if( $i -gt 20 ) { $i = 0 } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement