Rename-CitrixApplicationGroup
Citrix: Renames an application group
param(
[Parameter(Mandatory = $true)]
[string]$Name,
[Parameter(Mandatory = $true)]
[string]$NewName
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
Rename-BrokerApplicationGroup -Name $Name -NewName $NewName -ErrorAction Stop
Write-Output "Successfully renamed application group '$Name' to '$NewName'."
} catch {
Write-Error $_
exit 1
}The current name of the group.
The new name for the group.