Determine if Windows Update requires system reboot

I’d like to determine if a reboot is pending to complete Windows Update installations. Something that was designed to work within C1 similar to:


Ideally, that’s vieweable in Logs -> Script Logs would give a clear indication if a reboot is required (needs to be very clear as a non-technical staff member may be checking the results and contacting customers to coordinate a reboot if necessary).



@Scott75 We will analyze this and we will get back to you with updates or if we need more information.

Hi @Scott75,

Please use the script for your request and provide your feedback if any.

Thank you.