On *nix system the command uptime
is quite well known, but on windows there is no such command, at least not out of the box.
There are a couple of ways to work around this shotcomming:
- you can execute
systeminfo
oncmd.exe
and search for System Up Time - you can execute
net statistics server
and look for the time, since when the local server has been running - you can install
uptime.exe
from Microsoft