Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

AgentInstallerJob - getDBKeyByGroupAndName


AgentInstallerJob - getDBKeyByGroupAndName

Description :

This command gets the handle for an Agent Installer job. You must provide the job name and the full path to the job group containing the job. This command returns a handle to the Agent Installer Job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Fully qualified path to the job group containing the job.

jobName

String

Name of the job.

Example

The following example gets a handle to an Agent Installer Job called agentInstallerJob. This job is located in the /installjobs group.

Script





JOB_NAME=agentInstallerJob

JOB_GROUP=/installjobs

JOB_DBKEY=`blcli AgentInstallerJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5