Author Posts

April 7, 2017 at 6:28 pm

Not sure if this is the right place or not to post this issue.
But We're migrating over 110 VM from one data center to another.
according to PowerCLI Help, I am using

$DestRP = Get-Cluster -name $clustername | Get-ResourcePool -name $resourcepool
$DestDS = Get-Datastore -name $dataStore
Move-VM -vm $vmname -Destination $DestRP -DataStore $DestDS

Then I get this Error. Destination container must be in the same DataCenter

CategoryInfo : InvalidArgument: (Resources:ResourcePoolIMPL) [Move-VM], VimExcption

April 8, 2017 at 1:14 am

Outside of the PowerShell aspect of it, is it possible that its something simple like a Virtual Port group name mismatch or missing entirely on the destination cluster preventing the migration? PowerCLI is really powerful and fun but I find the errors a bit too generic, usually when I run into something like this I'll see what the fat client or web client throw since it's typically a bit more descriptive.