Admin Patrick Posted July 25, 2020 Share Posted July 25, 2020 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 Link to comment Share on other sites More sharing options...
Administrators Paul Posted July 27, 2020 Administrators Share Posted July 27, 2020 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now