Wednesday, November 19, 2008

Getting uptime in Windows

In Linux environment, we can get the uptime of the workstation with the command uptime. But how do you find out how long your Windows has been running?

I found out recently that you can do this:
net stats server | find "Statistics since"


It doesn't tell you exactly how long your PC has been up and running, but it does tell you the time your Windows started.