File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -12683,6 +12683,9 @@ param (
12683
12683
12684
12684
[Parameter (Mandatory = $False )]
12685
12685
[String ]$GlobalApplicationEntitlement = $null
12686
+
12687
+ [Parameter (Mandatory = $false )]
12688
+ [switch ]$clearGlobalEntitlement
12686
12689
)
12687
12690
begin {
12688
12691
$services = Get-ViewAPIService - HvServer $HvServer
@@ -12762,6 +12765,12 @@ param (
12762
12765
if ($PSBoundParameters.ContainsKey (" AutoUpdateOtherFileTypes" )) {
12763
12766
$updates += Get-MapEntry - key ' executionData.autoUpdateOtherFileTypes' - value $AutoUpdateOtherFileTypes
12764
12767
}
12768
+
12769
+ if ($clearGlobalEntitlement ) {
12770
+ $update = New-Object VMware.Hv.MapEntry
12771
+ $update.key = ' data.globalApplicationEntitlement'
12772
+ $updates += $update
12773
+ }
12765
12774
12766
12775
$AppService = New-Object VMware.Hv.ApplicationService
12767
12776
$AppService.Application_Update ($services , $App.Id , $updates )
You can’t perform that action at this time.
0 commit comments