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.

ExecutionTask - clearTargetServers


ExecutionTask - clearTargetServers

Description :

This command clears all target servers from an execution task. This command returns a handle to the updated execution task.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

etKey

DBKey

Handle to the execution task you want to update.

Example

The following example shows how to remove all target servers from execution task tstET in job group /tasks.

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`

ET_KEY=`blcli ExecutionTask clearTargetServers $ET_KEY`



 

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

BMC Server Automation Command Line Interface 8.5