Enable a VM to be cross vCenter vMotioned from a 6.0 vCenter to 6.5 using PowerCLI
Symptoms:
Unable to cross vCenter vMotion from vCenter 6.0U3 to vCenter 6.5U2 through PowerCLI
Getting errors similar to:
PowerCLI C:\> Move-VM -VM $vm -Destination $destination -NetworkAdapter $networkAdapter -PortGroup $destinationPortGroup -Datastore $destinationDatastore
Move-VM : 21/02/2019 16:57:08 Move-VM The operation for the entity "VM" failed with the following message: "A general system error occurred: Not initialized"
At line:1 char:1
+ Move-VM -VM $vm -Destination $destination -NetworkAdapter $networkAda ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Move-VM], SystemError
+ FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation.ViCore.Cmdlets.Commands.MoveVM
Move-VM : 21/02/2019 16:57:08 Move-VM 21/02/2019 16:57:08 Move-VM The operation for the entity "VM" failed with the following message: "A general system error occurred: Not initialized"
At line:1 char:1
+ Move-VM -VM $vm -Destination $destination -NetworkAdapter $networkAda ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Move-VM], SystemError
+ FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation.ViCore.Cmdlets.Commands.MoveVM