Retrieving Members of Static Patch Categories
Retrieving Members of Static Patch Categories
The members of a Static Patch Category can be retrieved by calling the method GetMembers() of the Patch Category object.
Examples:
Hint: The execution of these examples requires a connected PowerShell drive. |
Retrieve the members of the Static Patch Category named "System-Tools" from the "Patch Library":
$MyPatchCategory = Get-EmdbPatchCategory "emdb:\rootDSE\Global Software Library\Patch Library\System-Tools" $MyPatchCategory.GetMembers() |
Retrieve the members of the Static Patch Category named "Office 14":
Cd "emdb:\rootDSE\Global Software Library\Patch Library" $MyPatchCategory = Get-EmdbPatchCategory "Office 14" $MyPatchCategory.GetMembers() |