I am currently moving many VMs from Intel to AMD Hardware.
For this reason I made a script which shut down the VMs and moves them to an AMD host (defined host in script).
There are several AMD hosts in the cluster.
Now I would like to power on the VMs on the defined host which I used for the cold migration.
I am currently trying "start-vm" command. The VM is then started on any new host.
DRS is set on manual.
Deactivate DRS completely? If so, will my rules be retained?
The Start-VM doesn't offer the option to specify the ESXi node, but the API method does.
You could try something like
$vmName = 'TestVM' $esxName = 'MyEsx' $vm = Get-VM -Name $vmName $esx = Get-VMHost -Name $esxName $vm.ExtensionData.PowerOnVM($esx.ExtensionData.MoRef)