PowerCLI

 View Only
  • 1.  Move-VM error "vCenter does not support hosts of this type ( )."

    Posted 15 days ago

    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



  • 2.  RE: Move-VM error "vCenter does not support hosts of this type ( )."



  • 3.  RE: Move-VM error "vCenter does not support hosts of this type ( )."

    Posted 15 days ago

    Thank you, Stephon-  yes, I did see his KB but it does not apply here.

    As mentioned this process works successfully in the web UI. It's only in PowerCli that I encounter the error.