Changing isopath VMware VM’s when using Provisioning boot from ISO
When using a bootable ISO to get the Provisioning server settings and need to change the ISO because you add more servers and don’t use some sort of load balancing, you can do this by hand but this is very time consuming.
With VMWare PowerCLI it’s possible to do this automated. Download PowerCLI from VMWare, after installing PowerCLI you can use the following command to change the ISOPath:
Get-vm -Name VMNAME* |Get-CDDrive | set-cddrive -isopath “[Templates-Iso] XenDesktopNew.iso”
The Get-VM -Name is used to create a filter to which machines you would like to apply the new settings.
First connect to vcenter using Connect-VIServer, enter the vcenter server FQDN and the credentials.