Skip to content

Reset-CitrixAppEntitlementPolicyRule

Citrix: Resets an application entitlement policy rule

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

try {
	Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
	Set-BrokerAppEntitlementPolicyRule -Name $Name -Enabled $true -ErrorAction Stop
	Write-Output "Successfully reset application entitlement policy rule '$Name'."
} catch {
	Write-Error $_
	exit 1
}

The name of the policy rule.

An interactive directory of PowerShell scripts.