Testing Citrix Zone Objects

Tests if the specified Citrix Zone Object(s) exist, and returns true if the test succeeds and false if it fails.


Examples:


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


In this first, easy example, we check, if there are objects of type "Citrix Farm" anywhere in your DSM environment:


Test-EmdbCitrixZone -Path "emdb:\" -Recurse


The following command tests, if the Citrix Zone Object "Chicago" exists in the path "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA65Farm":


Test-EmdbCitrixZone -Path "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XA65Farm" -Name "Chicago"