Moving Citrix Farm Objects

Moves the specified Citrix Farm into the given target container.


Examples:


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


Move the Citrix Farm "XA65" from the container "Managed Users & Computers" into the container "Managed Users & Computers\solys.local\Citrix\XenApp" using the method MoveTo():


$MyFarm = Get-EmdbCitrixFarm "emdb:\rootDSE\Managed Users & Computers\XA65"

$MyDestinationContainer = Get-EmdbOrganizationalUnit "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp"

$MyFarm.MoveTo($MyDestinationContainer)


Move the Citrix Farm "XA65" from the container "Managed Users & Computers" into the container "Managed Users & Computers\solys.local\Citrix\XenApp" using the cmdlet Move-Item:


Move-Item -Path "emdb:\rootDSE\Managed Users & Computers\XA65" -Destination "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp"