Based on the info I found here, this one-liner is a quick way of displaying a Windows system’s uptime from the command prompt…
net stats srv | find "since"
Results in the following:
Statistics since 16/05/2013 2:32:48 PM
Oleg left me a comment with a more accurate one:
systeminfo | find "Boot Time"
Just remember that find.exe is case-sensitive unless you use the /i parameter
The “net stats srv” method I originally posted is a little less accurate (by mere seconds) as it’s based on when the Server service started:
Note: Edited to include a better, more accurate method