Products: Nintex Workflow 2013, Nintex Workflow 2010
Today a request came in to assist in removing 9,000~ duplicate Content Type Workflow Associations from a list (previous versions). Since it did not matter whether or not any workflow associations for that content type remained on the list (it is easy enough to re-add the workflow after) this script was developed to remove all workflow associations for that content type.
Note: All other content type workflows (other content types) and regular list based workflows will remain unmodified.
Run the below (attached as well as a *.txt file for your convenience) PowerShell script (PowerShell ISE works well) from a SharePoint Server:
PowerShell Script |
---|
|
To use the script do the following:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.