The Run PowerShell Script widget runs a Windows PowerShell script. The widget has the following features and options:
- Supports the use of lookups and workflow variables in the PowerShell script.
- Save script output to a workflow variable for use later in the workflow.
- The script will be run with the permissions of the user account configured in the widget.
- The widget will execute the script in the context of WebAppool account.
NOTE: In a SharePoint environment with multiple Web front-end servers, the script will be executed on the server where the workflow instance is currently running.
Return to External Data Widgets