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*