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!

No related posts.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

   
© 2012 PeetersOnline Suffusion theme by Sayontan Sinha