anandthearchitect.com
PowerShell: Find if a computer is waiting for Reboot (pending reboot)
To find a computer is waiting for reboot to complete the Microsoft Update installation, I have found this information in Windows Update WMI object. This displays True (if Pending Reboot),or False (…