I took an old rolling reboot script that Joe Keegan at http://infrastructureadventures.com/2011/12/28/powercli-script-for-vsphere-cluster-rolling-reboot/ posted a few years ago and modified it to add in the VRA functions and added the ability to scan and patch the hosts as well. I’m tempted to ask Joe if we can upload this to Github and add in more functionality later. Requirements:
Here is what it does:
Notes: It has no intelligence on the VUM Scan and Remediation. It just scans and patches, regardless of compliance. It would be nice if the scan came back “Compliant” that it didn’t reboot the host. It would also be good to add in some Zerto intelligence with the VRAs.
Change the .doc to .ps1.