PowerCLI-Example-Scripts icon indicating copy to clipboard operation
PowerCLI-Example-Scripts copied to clipboard

New-HVPool - Exception calling "Desktop_Create" with "2" argument(s)

Open einsteinagogo opened this issue 4 years ago • 0 comments

New-HVPool -MANUAL -PoolName 'TEST_20' -PoolDisplayName 'TEST-20' -Description 'TEST - Desktop Computer 10' -UserAssignment FLOATING -Source UNMANAGED -VM 'TEST-10.local'

causes

Exception calling "Desktop_Create" with "2" argument(s): "There is an error in the XML document." At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:4910 char:7

  •   $id = $desktop_helper.Desktop_create($services,$desktopSpecObj)
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : InvalidOperationException

einsteinagogo avatar Sep 29 '20 00:09 einsteinagogo