Testing Software Categories

Tests the existence of the specified Software Category object(s). Returns true, if the Software Category exists and false if it doesn't.


Examples:


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


The following example tests, if a Software Category object with a name of "Tools" exists in the "Global Software Library\Application Library" container:


Test-EmdbSoftwareCategory "emdb:\rootDSE\Global Software Library\Application Library\Tools"


The following snippet checks for the existence of a Software Category object named "Editors" anywhere in the Global Software Library:


Cd "emdb:\rootDSE\Global Software Library"

Test-EmdbSoftwareCategory "Editors" -Recurse


Note: The cmdlet Test-EmdbSoftwareCategory is not only testing for Static but for Dynamic Software Categories.