Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Automate scheduling hardware upgrade on 5.1U1

$
0
0

I saw that someone posted how to set the properties on a vm to schedule the the hardware upgrade when there has been a clean os shutdown. I am a novice at powershell, but threw this script together that will automate this for you.

 

It assumes your windows log on account has permission to vcenter and you have powercli installed. It will prompt you for the vcenter name then for the cluster name, if you leave out cluster it will do all powered on VMs that are not at vmx-09 and schedule them for update and next clean reboot. It will display on the screen which VMs it is updating. Hope this helps make your busy day a little easier.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>