Skip to content

Move-CitrixApplicationFolder

Citrix: Moves an application folder

param(
	[Parameter(Mandatory = $true)]
	[string]$FolderPath,

	[Parameter(Mandatory = $true)]
	[string]$DestinationParent
)

try {
	Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
	Set-BrokerApplicationFolder -Name $FolderPath -ParentAdminFolderName $DestinationParent -ErrorAction Stop
	Write-Output "Successfully moved application folder '$FolderPath' to '$DestinationParent'."
} catch {
	Write-Error $_
	exit 1
}

The current path of the folder.

The path to the new parent folder.

An interactive directory of PowerShell scripts.