ApplicationDiscoveryJob - getDBKeyByGroupAndName
ApplicationDiscoveryJob - getDBKeyByGroupAndName
Description :
This command returns the handle to a Application Discovery Job. You must identify the job group where the job is stored and the name of the job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
parentGroup | String | Fully qualified path to the job group where the job is stored. |
jobName | String | Name of the Application Discovery Job. |
Example
The following example gets a handle to a Application Discovery Job.
Script
JOB_FOLDER="/ApplicationDiscoveryJobs"
JOB_NAME="Run Application Discovery Job on all Servers"
JOB_KEY=`blcli ApplicationDiscoveryJob getDBKeyByGroupAndName "$JOB_FOLDER" "$JOB_NAME"`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*