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} } }
Script:
$site = Get-SPSite("http://sharepointsite/");
$site.AllWebs | foreach { $_.Lists | foreach { $_.WorkflowAssociations | foreach { write-host "Site:" $_.ParentWeb.Url ", List:" $_.ParentList.Title ", Workflow:" $_.Name} } }
No comments:
Post a Comment