A custom script can call any function defined by PowerShell or VBScript. PowerShell can also instantiate and invoke .NET Framework objects, and VBScript can instantiate and invoke COM objects, such as Scripting.FileSystemObject
. Both types of script can run command-line applications using the MIRunCommand
function.
After you save a custom script in MOVEit Automation, the script can be used in a process. Custom scripts are stored encrypted in the MOVEit Automation configuration file.
To |
Do this |
Create a custom script |
For more information, see Add New Custom Script. |
Import a custom script |
The original (external) script is not affected by changes you make to the script in Web Admin. NOTE: If you have a custom script open in Web Admin, and you import an additional script, the source code of the new script overwrites the source code in the Script Source box. You do not receive a warning message. |
Export a custom script |
The script is exported as a VBScript ( For example: |
Edit a custom script |
NOTE: If you change the friendly name of a script and save, that same script is saved with the new friendly name. To use an existing script as the starting point for a new script, see Use an existing custom script to create a new script in the last row of this table. |
Edit a custom script in an external editor |
The imported file overwrites the Script Source. |
Create a new script using an existing custom script |
|
See also: