Remove-CitrixController
Citrix: Removes a controller from the site
param(
[Parameter(Mandatory = $true)]
[string]$ControllerName
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
Remove-BrokerController -Name $ControllerName -ErrorAction Stop
Write-Output "Successfully removed controller '$ControllerName'."
} catch {
Write-Error $_
exit 1
}The name of the controller to remove.