VMware bulk vMotion via PowerCLI
Unfortunately VMware licesning for Enterprise and Enterprise Plus is not cheap. Some of the customers I work with cannot afford this licensing so they get Advanced and miss out on DRS. One of my biggest issues with this is putting hosts into Maintenance mode, although the host will start entering maintenance mode it cannot automagically move all the VM’s off onto other hosts. I get around having to manaully migrate each VM I use the following script. It’s limited to moving all the VM’s from one host to one other host, enjoy!
Get-VM -Location (Get-VMHost ‘sourcehostname’) | Move-VM -Destination (GetVM-Host ‘destinationhostname’)