All Tags »
PowerShell »
fun »
RawUI
Sorry, but there are no more tags available to filter with.
-
Hope you all had a good X-mas let's count down to the new Year ( *edit* fixed the script I forgot the $r = new-object Random line , thanks to cert for noticing in the comments and to agoodb for providing the fix there ) :# NewYear1.ps1
# PoSHy New Year Part 1
# Gives seconds till NewYear with some firework
# /\/\o\/\/
# ...
-
And in this second part, let there be balls ..
# Merry X-mas from PoSH part 2
# http://thePowerShellGuy.com
Function Merry-Xmas {
1..2 |% {
$Peek = '' ^ ''
$tree = ''/|\''
$i = 20
$pos = $host.ui.rawui.CursorPosition
write-host -fore 'Red' ($peek.PadLeft($i -1).PadRight(36) * 2)
write-host ...