Script

Script

Reference > Connections > PowerShell Connection >

PowerShell_Script_32_256x256

The Script page allows you to configure the PowerShell script and the parameters.

 

Script

Write or paste your PowerShell command or script in the script editor.

 

Parameters

Maintain a list of parameters which should be passed on to the script.

Note

To pass on parameters you need to define a param script block (named parameters). Positional parameters are not supported. As value you can either pass on static values (like a string or an integer) or dynamic properties of the connection using replacement tokens, such as $EffectiveUsername$ or $EffectivePassword$.

 

You can use dedicated test values (static values) to test your script within Royal TS.

 

Test

Click on the Test button and see if the script executes successfully. The Test tab will only show the result as text.