Here’s a quick and easy way of checking how long a Windows server or workstation has been up, via the command line. It pipes the results of Net Statistics Workstation into find. Run the following from a command prompt:
net statistics workstation | find /i “statistics since”
The results will look like
Statistics since 8/12/2009 11:08 PM
Which shows the machine has been up since 11:08pm on August 12, 2009.