diff --git a/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 b/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 index 7d5a09d..9c959ac 100644 --- a/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 +++ b/Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1 @@ -3857,6 +3857,9 @@ function New-HVPool { [int]$refreshThresholdPercentageForReplicaOsDisk, #DesktopDisplayProtocolSettings + [Parameter(Mandatory = $false,ParameterSetName = 'MANUAL')] + [boolean]$enableCollaboration = $true, + #desktopSpec.desktopSettings.logoffSettings.supportedDisplayProtocols [Parameter(Mandatory = $false,ParameterSetName = 'FULL_CLONE')] [Parameter(Mandatory = $false,ParameterSetName = 'INSTANT_CLONE')] @@ -4626,6 +4629,7 @@ function New-HVPool { $maxResolutionOfAnyOneMonitor = $jsonObject.DesktopSettings.displayProtocolSettings.pcoipDisplaySettings.maxResolutionOfAnyOneMonitor } $enableHTMLAccess = $jsonObject.DesktopSettings.displayProtocolSettings.enableHTMLAccess + $enableCollaboration = $jsonObject.DesktopSettings.displayProtocolSettings.EnableCollaboration } if ($null -ne $jsonObject.DesktopSettings.mirageConfigurationOverrides) { @@ -4934,6 +4938,7 @@ function New-HVPool { $desktopDisplayProtocolSettings.getDataObject().SupportedDisplayProtocols = $supportedDisplayProtocols $desktopDisplayProtocolSettings.setDefaultDisplayProtocol($defaultDisplayProtocol) $desktopDisplayProtocolSettings.setEnableHTMLAccess($enableHTMLAccess) + $desktopDisplayProtocolSettings.setEnableCollaboration($enableCollaboration) $desktopDisplayProtocolSettings.setAllowUsersToChooseProtocol($allowUsersToChooseProtocol) $desktopPCoIPDisplaySettings = $desktopSettingsService.getDesktopPCoIPDisplaySettingsHelper()