Skip to content

Remove-CitrixAppAssignmentPolicyRule

Citrix: Removes an application assignment policy rule

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

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

The name of the policy rule to remove.

An interactive directory of PowerShell scripts.