VMware Horizon Community
Kino65
Contributor
Contributor
Jump to solution

Exception calling Desktop_AddMachinesToManualDesktop

Hi! How are you all?

I'm trying to add a machine to a manual pool via PowerCLI, but then this exception appears out from nowhere and I don't really know what to do... I'm kinda stucked:

 

Cmdlet used: Add-HVDesktop -PoolName 'POOLNAME' -Machines 'VM NAME' -HvServer <CSERVER OBJECT> -Vcenter <VCENTER FQDN>

 

Exception calling "Desktop_AddMachinesToManualDesktop" with "3" argument(s): "ExceptionType :
VMware.Hv.PartialFailureFault
ErrorMessage : Not all machines could be added
ResultCount : 1
SuccessCount : 0
Results : VMware.Hv.PartialFailureFaultResult[]"
En C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1: 486 Carácter: 11
+ $desktop_service_helper.Desktop_AddMachinesToManualDesktop( ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : VimException

 

Any hints?

Thanks in advance!

Labels (3)
0 Kudos
1 Solution

Accepted Solutions
Kino65
Contributor
Contributor
Jump to solution

After doing some troubleshooting: the problem was we have 2 vCenter servers added on our connection servers, so the pool was linked to vCenter1, while the VM is located on vCenter2.

View solution in original post

0 Kudos
1 Reply
Kino65
Contributor
Contributor
Jump to solution

After doing some troubleshooting: the problem was we have 2 vCenter servers added on our connection servers, so the pool was linked to vCenter1, while the VM is located on vCenter2.

0 Kudos