Scripts must be stored in the following directory:
Supported file types are:
- .ps (PowerShell)
- .vbs (VisualBasic)
- .js (nodejs.exe)
Required PowerShell modules must be installed on the ARM server.
Select the area for which you are configuring scripts.
- ARM shows you a list of all the supported change actions before or after which scripts can be executed, as well as available parameters.
- Create a new script configuration.
- Select whether to run the script before or after the action. Your selection filters the available actions (column 2).
- Select an action for which you want to make a script available.
- If you have several scripts available for an action, specify the default settings for the ARM users in the drop-down menu.
- Select a script file.
- Select how ARM passes the parameters to the script.
You can select the parameters directly or pass them as JSON or CSV objects.
Select the command line parameters.
Select the type of data transfer to the script. Using a JSON or CSV object as a selection causes the script to provide a temporary file that contains the object data in the selected format.
Use the command line preview.
- Specify credentials to run the script. If you do not specify any, the credentials from the basic configuration are used.
- Give the script assignment a unique name for the selection in the ARM applications.
- Optional but recommended: Leave a description.
Get a command line preview at any time.