ApplicationDiscoveryJob - addNamedServerToJob
ApplicationDiscoveryJob - addNamedServerToJob
Description :
This command adds a server by name to an existing Application Discovery Job. This command returns a handle to the updated job. Note that this handle is different than any previous handle to this job. All older handles are invalid.
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. |
serverName | String | Name of the server to be added. |
Example
The following example shows how to add target server to an existing Application Discovery Job.
Script
JOB_FOLDER="/ApplicationDiscoveryJobs"
JOB_NAME="Run Application Discovery Job on all Servers"
SERVER_NAME="localhost"
JOB_KEY=`blcli ApplicationDiscoveryJob addNamedServerToJob $JOB_FOLDER $JOB_NAME $SERVER_NAME`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*