Posted July 25, 20204 yr Hey I want to reboot my servers only when it's really needed. We have like 100 servers running in production, so it's necessary to only reboot when needed after updates. I found a script test-pendingreboot but can't get it in a proper script to run it Should be like this if test-pendingreboot is "true" {restart-computer} Hope you can help me out Cheers
July 27, 20204 yr Administrators Hi Patrick, Our patch management feature will only restart the OS if the windows update component says a reboot is pending. I can help you fix the script if you share it here too. -Paul
Create an account or sign in to comment