Get Windows server uptime

To find server uptime: (this works on server 2008 / Vista / Windows 7 & 8 / server 2012)

systeminfo | findstr "Boot"

Output:
System Boot Time: 13/01/2016, 10:59:27
Boot Device: \Device\HarddiskVolume1

The command “net statistics server” will also provide the server uptime, as well as many other related statistics.

admin has written 89 articles