Showing posts with label SharePoint Designer workflows. Show all posts
Showing posts with label SharePoint Designer workflows. Show all posts

Saturday, September 27, 2014

Get the SharePoint Designer workflows using PowerShell script

The following script will get the SharePoint Designer workflows.

Script:

$site = Get-SPSite("http://sharepointsite/");
$site.AllWebs | foreach { $_.Lists | foreach { $_.WorkflowAssociations | foreach { write-host "Site:" $_.ParentWeb.Url ", List:" $_.ParentList.Title ", Workflow:" $_.Name} } }