Shutdown / Reboot via command line:
shutdown /r /t 1
The /r is to restart, change to a /s if you want it to just shutdown
The /t is the time in which to do it. I followed this with a 1, so in 1 second the computer will start to shutdown / reboot.
++++++++++++++++++
Check system uptime:
at the command prompt:
systeminfo
or
net statistics server