PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
VMware.Hv.Helper does not set the VGPUGridProfile variable from Json
In the Json spec when creating a Desktop Pool, there is a property called DesktopSettings.displayProtocolSettings.pcoipDistplaySettings.VGPUGridProfile . The $VGPUGridProfile variable is NOT being set from the Json object. This causes the New-HVPool function to fail when you want vGPU support. The code should be equivalent to the code for the enableGRIDvGPUs property.
I second this. I've been looking for a way to enable this option.
It's a quite easy fix. In VMware.HV.Helper.psm1 (version 1.3.1) add two lines.
after line 4526: $VGPUGridProfile = $jsonObject.DesktopSettings.displayProtocolSettings.pcoipDisplaySettings.VGPUGridProfile
after line 4849: $desktopPCoIPDisplaySettings.getDataObject().VGPUGridProfile = $VGPUGridProfile