Moving Citrix Zone Objects
Moving Citrix Zone Objects
Moves the specified Citrix Zone object into the given target container, which has to be an object of type Citrix Farm.
Examples:
Hint: The execution of these examples requires a connected PowerShell drive. |
Move the Citrix Zone "Chicago" from the Farm "XA65Farm" into the Farm "XA75" in the context "Managed Users & Computers\solys.local\Citrix\XenApp" using the method MoveTo():
$MyZone = Get-EmdbCitrixZone "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA65Farm\Chicago" $MyDestinationContainer = Get-EmdbCitrixFarm "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA75" $MyZone.MoveTo($MyDestinationContainer) |
Move the Citrix Zone "London" from the Farm "XA65Farm" into the Farm "XA75" in the context "Managed Users & Computers\solys.local\Citrix\XenApp" using the cmdlet Move-Item:
Move-Item -Path "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA65Farm\London" -Destination "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA75" |