I'm trying to run this one-liner to do a cross vCenter migration...
Move-VM (Get-VM 'VMname' -Server 'Source_vcsa') -Destination (Get-VMHost 'DestHost' -Server 'Dest_vcsa') -NetworkAdapter (Get-NetworkAdapter 'VMname' -Server 'Source_vcsa') -PortGroup (Get-VDPortgroup -VDSwitch 'Dest-vDSwitch' -Name 'Dest-VLAN1' -Server 'Dest_vcsa') -Datastore (Get-Datastore 'DestDS' -Server 'Dest_vcsa')
-and I get this error message...
Move-VM The operation for the entity "VMname" failed with the following message: "vCenter does not support hosts of this type ( )."
Both vCenters are the same build and this works when I attempt it through the web UI.
My Powercli version is 13.1