Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

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.

CustomCmd - removeCustomCmd


CustomCmd - removeCustomCmd

Description :

This command removes a custom command. To remove all dependencies, set the enforce argument to true.

Return type : void

Command Input :

Variable Name

Variable Type

Description

typeId

Integer

The existing association for this command (SERVER - 5004, DIRECTORY - 8, FILE - 7).

Name

String

Name of the custom command.

enforce

Boolean

True to remove all of this command's depending objects, false otherwise.

Example

The following example removes a Launch CI Viewer custom command. Because the Launch CI Viewer command interacts with a server, this example sets typeId to 5004.

Script





CustomCmd removeCustomCmd "5004" "Launch CI Viewer" false



 

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

BMC Server Automation Command Line Interface 8.3