PowerShell script to changeSharepoint Designer workflow statuses
rameez hasan
6
Reputation points
I want to change the status of workflow using powershell script.
If you go into workflow settings in a library in Sharepoint, and click on Remove a workflow, you see the 3 settings I'm referring to: "Allow", "No New Instances", and "Remove".
I'm thinking there must be a way to update these workflow settings from a powershell script.
based on forur parameters:
Param 1 - Site URL
Param 2 - List/Library Name
Param 3 - Workflow Name
Param 4 - Status of WF ("Allow", "No New Instances", and "Remove")
Does anyone know how?
Sign in to answer