Command to View Last Reboot:

Get-CimInstance -ClassName Win32_OperatingSystem | Select CSName, LastBootUpTime

Alternatively, you can use:

(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime

0 Comments

Leave a Reply

Avatar placeholder

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.