Powershell Script for Workflow Association - 2.0

Rating: No reviews yet
Downloads: 375
Released: Dec 3, 2010
Updated: Dec 3, 2010 by shwets
Dev status: Beta Help Icon

Recommended Download

Source Code Powershell Script for Workflow Association
source code, 13K, uploaded Dec 3, 2010 - 375 downloads

Release Notes

This script will iterate through all webs within the sitecollection url you specified. It will in turn loop through each web to find the list name you specified. Now for each list it will attach the workflow, name of which you would specify while running the script.

Steps to execute:

1. Rename the file extension to .ps1
2. Open the SharePoint Management Shell in Administrator mode
3. Go to the directory where you have saved this file in the prompt:
set-location “E:\Downloads” or CD “E:\Downloads” (assuming you downloaded the ps1 to this folder)
4. Run the following command:
.\CreateWorkflowAssociation.ps1 -url "http://shweta-sp2010" -workflowName "Custom Publishing Approval" -workflowAssociationName "Custom Page Approval"

Reviews for this release

No reviews yet for this release.