ProvisionJob - clearPMDevice


ProvisionJob - clearPMDevice

Description :

This command removes a device from a Provision Job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle of the Provision Job to be updated.

MAC

String

MAC address of the device.

Format the MAC address as a '-' separated hex string, for example 00-0B-CD-1B-E0-44. Alphabetic characters in the MAC address must be in upper case. As an alternative to the dash character, you can use the colon or space key as the delimiter in the MAC address.

Example

This example shows how to remove a device 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 clearPMDevice $PROVISION_JOB_DBKEY 00-00-29-3F-08-86 `



 

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

BMC Server Automation Command Line Interface 8.7