PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
Set-HvPool fails
PS C:\Windows\system32> Set-HVPool -Poolname 'FulClnJSON' -Key 'automatedDesktopSpec.vmNamingSpec.patterNamingSettings.maxNumberOfMachines' -Value 4 Updating the Pool: FulClnJSON Exception calling "Desktop_Update" with "3" argument(s): "ExceptionType : VMware.Hv.InvalidArgument ErrorMessage : Invalid member name. ParameterName : automatedDesktopSpec.vmNamingSpec.patternNamingSettings.maxNumberOfMachines" At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:6442 char:8
-
$desktop_helper.Desktop_Update($services,$item,$updates)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : VimException