Skip to main content
Version: 1.26 (Current)

Run PowerShell Script

Executes a script with Windows PowerShell.

Parameter Reference

ParameterDescriptionSupports TokensDefault
ScriptPowerShell Script to execute. For example [System.Security.Principal.WindowsIdentity]::GetCurrent().Name will return the identity of the App Pool. Visit this script repository for more examples. Can contain context tokens (for example [ContextTokenName]) and My Tokens.YesNone
Output Token NameOptionally provide a token name where to store the output generated by the script. The token can be used in next actions down the stack.NoNone