Renaming Citrix Farm Objects

Renames the specified Citrix Farm.


Examples:


Hint: The execution of these examples requires a connected PowerShell drive.


Rename the Citrix Farm "XA65" to the new name "XenApp 6.5" through setting the name property and a subsequent call to the method Update():


$MyFarm = Get-EmdbCitrixFarm "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA65"

$MyFarm.Name = "XenApp 6.5"

$MyFarm.Update()


Rename the Citrix Farm "XA65" to the new name "XenApp 6.5" using the cmdlet Rename-Item:


Cd "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp"

Rename-Item "XA65" -NewName "XenApp 6.5"