Tag Archives: countdown

Countdown to 2009

function CountDown
{
 While ((Get-Date).Year -lt 2009)
 {
  Clear-Host
  Write-Host “COUNTDOWN TO 2009:”
  (Get-Date “1/1/2009 0:00″) – (Get-Date) | Format-Table Days, Hours, Minutes, Seconds -AutoSize
  Write-Host “Countdown brought to you by:”
  Write-Host “http://www.peetersonline.nl
  Start-Sleep -Seconds 1
 }
 Clear-Host
 Write-Host “HAPPY NEW YEAR!”
 Write-Host “from Hugo at http://www.peetersonline.nl
}
CountDown

Happy Holidays to all of you!