Windows Command Line Tools: System uptime
-
Some dispute on the up time of a server
C:\Users\user>systeminfo | find "System Boot Time" System Boot Time: 10/5/2015, 9:07:18 AM
That settled it.
-
That doesn't work inside of a VM. It only tells you when the VM was started up, won't tell you if the system went down in the interim.
-
You'll need to look at the hypervisor if you want to know if you lost power, for example.
-
Good point.
In this case that was the HostThe actual DC shows this
C:\Users\use>systeminfo | find "System Boot Time" System Boot Time: 11/21/2015, 6:20:01 PM
-
It appears that you are running this via powershell and not cmd. Is that correct?
(Just thought I'd double check) -
@nadnerB nope, cmd
-
For CMD try this one:
net statistics workstation
-
@MattSpeller said:
@nadnerB nope, cmd
Cool! I didn't expect the | parameter to work in CMD.
New thing for today learned, going home. -
@nadnerB said:
It appears that you are running this via powershell and not cmd. Is that correct?
(Just thought I'd double check)Yes via CMD