How to find last boot time and other shutdown logs in windows?.

Using following command you get retrieve the last booted time of a windows computer.
systeminfo | find "System Boot Time"

If you want to view logs related to shutdown or restart you can get them from

Event viewer > Windows > System and filter or find logs by ID 1074

No comments:

Post a Comment