Remove-CitrixAssignmentPolicyRule
Citrix: Removes an assignment policy rule
param(
[Parameter(Mandatory = $true)]
[string]$Name
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
Remove-BrokerAssignmentPolicyRule -Name $Name -ErrorAction Stop
Write-Output "Successfully removed assignment policy rule '$Name'."
} catch {
Write-Error $_
exit 1
}The name of the rule to remove.