Script to take hosts out of maintenance mode in vCenter & vROPs

On occasion, I’ve noticed that people can sometimes forget to take a host out of maintenance mode in vROPs after completing some work in vCenter. I have created a short PowerCLI script that will pull a list of hosts from a specified CSV file, connect to your vCenter & vROPs then exit the listed hosts from maintenance mode.
Nothing fancy but I will update it shortly to include the option of place hosts into maintenance mode also

See GitHub for the code

https://github.com/VirtuallyPhysical/InfrastructureConfiguration/blob/main/ExitMaintenanceMode_ESX_vROPS.ps1

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.