AgentInstallerJob - setAgentInstallerJobUpdateServerPropertiesEnabled
AgentInstallerJob - setAgentInstallerJobUpdateServerPropertiesEnabled
Description :
This command sets whether or not the Update Server Properties option is enabled for the Agent Installer Job found by the group name and job named passed into the command. This command returns a handle to the updated Agent Installer Job with the new Update Server Properties Enabled option.
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. |
uspEnabled | Boolean | Update server properties as part of the job (true=enabled, false=disabled). |
Example
The following example disables the Update Server Properties option in the Agent Installer Job named agentInstallerJob.
Script
JOB_NAME=agentInstallerJob
JOB_GROUP=/installjobs
JOB_DBKEY=`blcli AgentInstallerJob setAgentInstallerJobUpdateServerPropertiesEnabled $JOB_GROUP $JOB_NAME false`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*