Merge pull request #343 from mtelvers/master
Update VMware.HV.Helper.psm1
This commit is contained in:
@@ -6212,6 +6212,9 @@ function Set-HVPool {
|
||||
[string]
|
||||
$ResourcePool,
|
||||
|
||||
[Parameter(Mandatory = $false)]
|
||||
[switch]$clearGlobalEntitlement,
|
||||
|
||||
[Parameter(Mandatory = $false)]
|
||||
[boolean]$allowUsersToChooseProtocol,
|
||||
|
||||
@@ -6324,6 +6327,12 @@ function Set-HVPool {
|
||||
}
|
||||
}
|
||||
|
||||
if ($clearGlobalEntitlement) {
|
||||
$update = New-Object VMware.Hv.MapEntry
|
||||
$update.key = 'globalEntitlementData.globalEntitlement'
|
||||
$updates += $update
|
||||
}
|
||||
|
||||
$info = $services.PodFederation.PodFederation_get()
|
||||
if ($globalEntitlement -and ("ENABLED" -eq $info.localPodStatus.status)) {
|
||||
$QueryFilterEquals = New-Object VMware.Hv.QueryFilterEquals
|
||||
|
||||
Reference in New Issue
Block a user