Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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