Modifying a Script

  1. On the home page of the console, click Command Control on the home page of the console.

  2. In the navigation pane, click the Scripts icon.

  3. Select the script you want to modify.

  4. In the details pane, click the edit icon next to the script.

  5. Configure the following fields:

    Name: Specify a different name for the script.

    Conditional script: Select the check box to set the script to be conditional. Scripts defined as conditional can be used in rule conditions. The return codes are limited to 1 for true and 0 for false.

    Disabled: Select the check box to disable the script. A disabled script is dimmed.

    Description: Describe the purpose of the script.

    Script: Specify the text of your script in the text box by typing it or by pasting it from elsewhere. The possible return codes you can use in your script for processing by the Command Control software are shown below this field.

    For some sample scripts, see Sample Scripts.

  6. Click Modify.

    You can assign the script to a rule, or you can specify it in rule conditions if you have set the script to be conditional.