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