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.

ProvisionJob - clearAllPMDevices


ProvisionJob - clearAllPMDevices

Description :

This command removes all devices from a Provision Job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle of the Provision Job to be updated.

Example

This example shows how to remove all devices from a Provision Job.

Script





# Get the DBKey of the Provision Job

PROVISION_JOB_DBKEY=`blcli ProvisionJob getDBKeyByGroupAndName $PROVISION_JOB_GROUP $PROVISION_JOB_NAME`

JOB_KEY=`blcli ProvisionJob clearAllPMDevices $PROVISION_JOB_DBKEY `



 

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

BMC Server Automation Command Line Interface 8.5