SmartPatchCatalogGroup - setMatchAll
SmartPatchCatalogGroup - setMatchAll
Description :
This command sets the Match All value for a Smart Patch Catalog Group. If Match All is true, it means that all conditions in the group must be true for a depot object to belong to the group. If Match All is false, it means that any condition can match for a depot object to belong to the group.
This command returns a handle to the job group.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupName | String | Fully qualified path to the group. |
groupTypeString | Integer | String representation of smart catalog group. |
matchAll | Boolean | Set this variable to true or false. |
Example
The following example shows how to set Match All to true for a Smart Patch Catalog Group located at /Workspace/Patch Catalogs/Windows 2012/Old Patches.
Script
SmartPatchCatalogGroup setMatchAll "/Workspace/Patch Catalogs/Windows 2012/Old Patches" SMART_WINDOWS_PATCH_CATALOG_GROUP true
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*