Uploading a script

Supported scripts include shell scripts for Linux®-based virtual machines and Batch and PowerShell scripts for Windows™-based virtual machines. Scripts must be created by using the operating system's associated file format.

Procedure

  1. Click the Configure tab. On the Views panel, select Scripts.
  2. Click Upload. The Upload Script dialog opens.
  3. In the Script field, browse for a local script to upload, then click Open.
  4. Enter an optional comment, then click OK. The script appears on the Scripts panel and can be applied to supported jobs.

What to do next

As the next step, you need to specify the Parameters, Identify, and Application Server fields.
  • Click the Parameters field. Add a parameter to the script, then click Add. If the script does not require any parameters, leave the field empty.
  • Click the Identity field to add or create the credentials that you need to run the script. The field is mandatory when you define a script.
  • Click the Application Server field to define the server where you need to run the script. The field is mandatory when you define a script.
Note: To add additional parameters to a script, enter a parameter in the field, then click Add. For parameter examples, see Using state and status arguments in postscripts.