Created
June 6, 2023 20:46
-
-
Save seyerj/7c2e6720b2bb2358bcaab448c53f20db to your computer and use it in GitHub Desktop.
get uptime cim - quick n dirty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-CimInstance -ClassName Win32_OperatingSystem | Select LastBootUpTime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
quick and dirty, might not be 100% accurate