Testing Citrix Farm Objects

Tests if the specified Citrix Farm 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-EmdbCitrixFarm -Path "emdb:\" -Recurse


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


Test-EmdbCitrixFarm "emdb:\rootDSE\Managed Users & Computers\solys.local\Citrix\XenApp\XenApp 7"