windows check last reboot command code example
Example: windows check last reboot command
Open Command Prompt as an administrator.
In the command line, copy-paste the following command and press Enter: systeminfo | find /i “Boot Time”
=====================
1. Open Event Viewer with Eventvwr.exe
2. Navigate to Windows Logs\System
3. Right-Click on it and select "Filter Current Log…"
4. Filter: Event log: System Event ID: 1074
5. When you filter them, you can track down its shutdown type, date and time, and who has shutdown it.