[Script Of Sep. 10] How to check if any Windows Server is pending for reboot

image

Sep.

10

image

image

Script Download:   
The script is available for download from https://gallery.technet.microsoft.com/How-to-check-if-any-4b1e53f2.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.

This PowerShell script will check if a server is pending for reboot and get the reboot status.

IT admins might log onto a server and wonder if there have been patches installed and anything needs to be rebooted. This is important to know because admins will not be able to install updates if the system is pending a reboot from a previous software update.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery