SystemPackage - getDBKeyByGroupAndName
SystemPackage - getDBKeyByGroupAndName
Description :
This command returns a handle to a system package, based on the name of the system package, and the system package group it belongs to. (Note that within the BMC BladeLogic graphical user interface, system package groups are called system package folders.)
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
groupName | String | Fully qualified path to the parent system package group. |
sysPackName | String | Name of the system package. |
Example
The following example shows how to get a handle to a system package named Win2k3, which resides in the system package group /SysPackGrp/Windows:
Script
SYS_PACK_KEY=`blcli SystemPackage getDBKeyByGroupAndName /SysPackGrp/Windows Win2k3`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*