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