Specify the script type from the list of available, namely, JScript, VBScript, PowerShell scripts and batch files. Write the script of appropriate type into the script field. All parameters that need to be passed to the script need to be inserted by using dynamic values of Variable Wizard. The parameters are injected directly into the code and from the script execution viewpoint will appear as static values.

The output of the script (if any) is retrievable with the means of Variable Wizard from any subsequent Action within the same Task.

ScriptDetails
Type Specify the type of the script that will be executed · Examples
  • JScript · Microsoft's scripting language similar to JavaScript.
  • VBScript · Visual Basic Scripting Edition by Microsoft modeled on Visual Basic.
  • PowerShell · scripting language built on-top of command-line shell integrated with .NET framework.
  • Batch file · a set of commands intended to be executed by cmd.exe command interpreter.
Version Specify which version of PowerShell will be used to execute the script.
  • Default · executes the script on the version of PowerShell which is default in the system.
  • 1.0 · forces the script to be executed on PowerShell 1.0 version.
  • 2.0 · forces the script to be executed on PowerShell 2.0 version.
Script Provide the script of specified type. Parameters and command-line arguments are specified directly in the script code by using dynamic Variable Wizard values.
Variable WizardVariable Wizard buttonUse Variable Wizard for advanced data input, such as, taking parameter from file, associated Trigger or other Action, etc.

Notes

  • View script examples for more detailed information on scripting in Automation Workshop.
  • Executing WSL commands on 64-bit Windows requires 64-bit installation of Automation Workshop.

Have a question?

If you have any questions, please do not hesitate to contact our support team.