I often need a quick way to see how long a Windows box has been running, or actually when it was last restarted
One way is to use the command net statistics workstation and find Statistics since:
And of course PowerShell is nowadays also an option:
Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime
Note that this requires PowerShell 3.0 and that the time is 2 seconds before the time from net statistics.