PS>_ "Powershell","Automation","API's","Algorithms" -join " + "

8 Ways To Know The Uptime of a Windows Machine

Understanding when your machine was rebooted may assist you in troubleshooting better in case of any Abrupt shutdown or System Crash and in many other scenarios. You can achieve this with the following ways :

1. Use the Uptime utility in cmd prompt. Download it from this Link , extract and copy the uptime.exe to C:\Windows\System32 folder

CMD > type ‘uptime’ and hit Enter.

You can use \S Switch with uptime command to list all boot and shutdown events.

2. Go to Network Settings > Right click on the server NIC > Status .

You will see a clock running, this is clock gets reset every time machine reboots.

3. Use WMI query to know the last reboot time, Type in the below commmand in cmd Prompt.