For information about editing, importing, and exporting custom scripts, see Custom Scripts.
To access this dialog box: Select RESOURCES > Scripts > Add Script.
You can add/write a new script or import an existing VBScript (*.vbs
) or PowerShell script (*.ps1
) into MOVEit Automation.
Add/Edit Script Field |
Description |
Friendly Name |
Name that appears in the list of scripts on the SCRIPTS page. NOTE: If you edit an existing script and change its Friendly Name, the edited script is saved with the new Friendly Name. |
Description |
Optional description. |
Script Type |
Select VBScript or Powershell |
Script Template
|
Select one of the VBScript or PowerShell script templates. |
VBScript templates None: Select to input the script details in the Script Source box without using a template. For Each Line Template: Select to open a template in the Script Source box for a script that runs after each file in the associated task is processed. All At Once Template: Select to open a template in the Script Source box for a script that runs after all the files in the associated task are processed. |
|
PowerShell templates None: Select to input the script details in the Script Source box without using a template. Download Basic Auth: Select to download a file using basic authentication. Get JSON Next ID: Select to POST a JSON request to an endpoint, and receive a JSON response. MOVEit Transfer REST API: Select to retrieve the upload stamp of a MOVEit Transfer file. Process File Line by Line: Select to process a file line-by-line, creating an output file that will replace the input file during the execution of the task. |
|
Script Source box |
Displays the script details. Add or edit script details within this box. |
Import Script File |
Click to import an existing VBScript ( NOTE: Any code in the Script Source field is overwritten by the source code of the script that you import. You do not receive a warning message. |
Save |
To save the new script, click Save. |