2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
14
Task/Colour-bars-Display/PowerShell/colour-bars-display.psh
Normal file
14
Task/Colour-bars-Display/PowerShell/colour-bars-display.psh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[string[]]$colors = "Black" , "DarkBlue" , "DarkGreen" , "DarkCyan",
|
||||
"DarkRed" , "DarkMagenta", "DarkYellow", "Gray",
|
||||
"DarkGray", "Blue" , "Green" , "Cyan",
|
||||
"Red" , "Magenta" , "Yellow" , "White"
|
||||
|
||||
for ($i = 0; $i -lt 64; $i++)
|
||||
{
|
||||
for ($j = 0; $j -lt $colors.Count; $j++)
|
||||
{
|
||||
Write-Host (" " * 12) -BackgroundColor $colors[$j] -NoNewline
|
||||
}
|
||||
|
||||
Write-Host
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue