# Execute PowerShell script Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/code-activities/execute-powershell-script/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/code-activities/execute-powershell-script/) Product: Virto Workflow Automation Updated: 2026-11-12 This activity runs a PowerShell script on the SharePoint server as part of the workflow and stores its output in a workflow variable. In SharePoint Designer, this action is in the **Virto Actions** category. ## **SharePoint Workflow Designer Phrase** Execute PowerShell script **this PowerShell script** and store result in **variable**. ## **Parameters** | Parameter | Description | |---|---| | this PowerShell script | The PowerShell script to run. | | variable | Workflow variable that receives the output of the script. |