For the total shutdown and boot duration:
A lightweight, portable Windows utility that extracts the event log and displays a clean grid showing the exact startup time, shutdown time, duration, and shutdown reason for every session.
that analyzes event logs to list startup times, durations, and shutdown reasons 2. Scheduling Automatic On/Off Times PC On Off Time
This returns a TimeSpan object showing days, hours, minutes, and seconds since boot.
$remotePC = 'DESKTOP-123' (Get-Date) - (Get-CimInstance Win32_OperatingSystem -ComputerName $remotePC).LastBootUpTime For the total shutdown and boot duration: A
: If your PC takes an unusually long time to turn off, it is often due to unresponsive background processes, pending updates, or faulty hardware.
, and set the trigger to "Daily" with a specific time [12, 31]. 3. Managing Power-On Times Managing Power-On Times The "PC On Off Time"
The "PC On Off Time" is a treasure trove of data hiding in plain sight. You don't need expensive management software to track it. By mastering Event IDs 12, 6005, 6006, and 6008, you can diagnose hardware faults, secure your office against after-hours intrusion, and slash your electricity bill.
: Typically displays activity data for the last three weeks .
If the logs show the PC was active while you were away, this could be a sign of unauthorized access.
to see the "Statistics since" date, which indicates the last boot time. Event Viewer: