Up is up and down is down, right? Maybe so, but sometimes the two are not as separate as you’d think. That’s definitely the case when it comes to server uptime: if you want to report on server uptime, you need to be able to calculate server downtime. The Microsoft Scripting Guys present a Windows PowerShell script that can do this for you.
PingBack from http://mstechnews.info/2008/11/hey-scripting-guy-calculating-server-uptime/