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.

Job - clearTargetGroup


Job - clearTargetGroup

Description :

This command removes a target server group from a job. See clearTargetGroups for a command that clears all target groups from a job.

The argument jobKey is the handle to the job being modified. To find the jobKey for a specific job type, use the SnapshotJob getDBKeyByGroupAndName command. Use the groupName argument to provide the fully qualified path to the target server group (for example, /WestCoast/Windows). This command returns the handle of the updated job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle of the job to be updated.

groupName

String

Fully qualified path to the target server group to be removed.

 

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

BMC Server Automation Command Line Interface 8.5