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