How to quickly check last reboot time for Windows box

Sometimes you need check on the last reboot time for Windows box. Here are two methods to do it quickly:

1. Via systeminfo command:

systeminfo | find “System Boot Time” (for systems prior to Server 2008/Windows 7 use: systeminfo | find “System Up Time”)

This will give you date and time when the system was started.

2. Via PowerShell:

get-eventlog System | where-object {$_.EventID -eq “6005”} | sort -desc TimeGenerated


This option is better to my mind as it gives you info not on the latest startup event only but on all history from the event log.

Leave a Reply

Your email address will not be published. Required fields are marked *