PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
new-hvpool gives an error when creating pool with gpu's
When you create a pool using a json file that will use nvidia gpu's new-hvpool will trow an error about missing maxnumberofmonitors and maxresolutionofanyonemonitor. This info is not needed with gpu's and the pool will be created correctly
I have similar problem with nvidia Tesla m60.
Add-HVDesktop -PoolName "BMAPG" -Machines 'bmap58' Exception calling "Desktop_AddMachinesToManualDesktop" with "3" argument(s): "ExceptionType : VMware.Hv.Par tialFailureFault ErrorMessage : Not all machines could be added ResultCount : 1 SuccessCount : 0 Results : VMware.Hv.PartialFailureFaultResult[]" At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.HV.Helper.psm1:463 char:11
-
$desktop_service_helper.Desktop_AddMachinesToManualDesktop( ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : VimException
Successfully added desktop(s) to pool
Bat desktop not addes to pool.