Run PowerShell Script
Executes a script with Windows PowerShell.
Parameter Reference
Parameter | Description | Supports Tokens | Default |
---|---|---|---|
Script | PowerShell 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. | Yes | None |
Output Token Name | Optionally provide a token name where to store the output generated by the script. The token can be used in next actions down the stack. | No | None |