I am working on a script to deploy new VMs, and as one of the final steps I would like to have the VM upgrade to the newest hardware version allowed on the vhost. I cannot find a way to do this since powercli doesn't like v18 yet. Any advice?
You can use the UpgradeVM method.