SmartPatchCatalogGroup- addCondition

SmartPatchCatalogGroup- addCondition

Description :

This command adds a new condition to an existing Smart Patch Catalog Group. When you add a new condition, you must specify its operator type. For a complete list of the operator strings, see the SmartServerGroup : addCondition command.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Fully qualified name of the smart group.

propClassName

String

Property Class name to be used in the smart group condition.

propName

String

Property name to be used in the smart group condition.

operator

String

Operator string to be used in the smart group condition.

propValue

String

Property value to be used in the smart group condition.

Example

The following example shows how to add a condition to an existing group named Old Patches that includes all Hotfixes in the catalog with a VENDOR_IMPACT of Moderate.

Script

blcli SmartPatchCatalogGroup addCondition "/Workspace/Patch Catalogs/Windows/Old Patches" "SMART_WINDOWS_PATCH_CATALOG_GROUP" "Class://SystemObject/Depot Object/Software/Win Depot Software/HotFix" "VENDOR_IMPACT*" "equals" "Moderate"
Was this page helpful? Yes No Submitting... Thank you

Comments