Created
March 18, 2024 16:52
-
-
Save darkmastermindz/6180f080308300e5b56bbd7500f7986d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$rebootRequired = Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" | |
"Pending reboot: $rebootRequired" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment