PowershellExecute
Introduction
Executes a single powershell-script. A failing script will fail the valve.
Note: Script and arguments does not need to be escaped or surrounded with quotes. Only json-escaping (\ or "} of the configuration is needed.
Configuration
Name
Description
Default value
Mandatory
Expanded
executable
Name and locations of the Powershell executable.
C:\Windows\System32\Windows\PowerShell\v1.0\powershell.exe
script
Name of the script to be executed
N/A
arguments
A list of arguments to the script.
empty list
directory
Working directory from where the command is executed. Not set means current directory.
null
timeout
Timeout for the execution (in seconds)
30
Note that parameter names are case-sensitive.