John Tuffin's Personal Log about E-Learning Course Development
These two lines of Powershell script are all you need to VMotion all virtual machines from one ESX host to another:
Get-VIServer 10.18.138.187 -User "scriptuser" -Password "vmware"
Get-VMHost sc-gallium07 | Get-VM | Move-VM -Destination (*Get-vmhost* sc-gallium04)
John Tuffin's Personal Log about E-Learning Course Development