A specialized utility designed specifically to graph daily uptime and downtime.
The Ultimate Guide to Monitoring PC On/Off Time Why Track PC On/Off Time? PC On Off Time
@echo off echo --- PC POWER HISTORY --- > "%userprofile%\Desktop\PCTimeLog.txt" wevtutil qe System /q:"Event[System[(EventID=6005) or (EventID=6006)]]" /f:text /c:10 >> "%userprofile%\Desktop\PCTimeLog.txt" Use code with caution. A specialized utility designed specifically to graph daily