SmartPatchCatalogGroup- groupNameToId
SmartPatchCatalogGroup - groupNameToId
Description :
This command finds the group ID of a Smart Patch Catalog Group by its fully qualified name and type string.
This command returns the group ID of the smart group.
Return type : Integer
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupPath | String | Fully qualified name of the smart group. |
groupTypeString | String | String representation of smart catalog group. |
Example
The following example shows how to find the group id /Workspace/Patch Catalogs/Windows/Old Patches.
Script
blcli SmartPatchCatalogGroup groupNameToId "/Workspace/Patch Catalogs/Windows/Old Patches" SMART_WINDOWS_PATCH_CATALOG_GROUP
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*