OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

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

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

  • Comments 1
  • Likes
Sep.
10
image

Script Download:  
The script is available for download from http://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 http://aka.ms/onescriptingallery

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment