Testing Patch-Rollout-Rules

Tests if the specified Patch-Rollout-Rule 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 the most trivial example, you can test through calling Test-EmdbPatchRolloutRule without any parameters, if at least one Patch-Rollout-Rule exists in your environment:


Test-EmdbPatchRolloutRule


In the example below, we check if a Patch-Rollout-Rule "Critical Microsoft Patches Rollout-Rule" exists.:


Test-EmdbPatchRolloutRule "Critical Microsoft Patches Rollout-Rule"


Note: Note that Patch-Rollout-Rule-objects are Catalog-objects contained in rootCatalog and are therefore not part of the context rootDSE. As as consequence, they can be referenced without a full qualified path resp. an absolute path.