Skip to content

Remove-CitrixEntitlementPolicyRule

Citrix: Removes an entitlement policy rule

param(
	[Parameter(Mandatory = $true)]
	[string]$Name
)

try {
	Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
	Remove-BrokerEntitlementPolicyRule -Name $Name -ErrorAction Stop
	Write-Output "Successfully removed entitlement policy rule '$Name'."
} catch {
	Write-Error $_
	exit 1
}

The name of the rule to remove.

An interactive directory of PowerShell scripts.