In SharePoint environment, there comes many instances where you would like to know about the SharePoint OOTB workflows associated with list at a Site Collection Level. There is always Manual way to check the Workflow association by looking at all the lists. This is tedious and time consuming. What I have decided is to write a simple PowerShell script which can make the job easier.
Below are the PowerShell commands given below
$site = Get-SPSite(“http://Employeesite”);
$site.AllWebs | foreach
$_.Lists | foreach
$_.WorkflowAssociations | foreach
write-host “Your Site URL :” $_.ParentWeb.Url “, Your List Name :” $_.ParentList.Title “, Your Workflow Name :” $_.Name
Happy SharePointing 🙂 Feel free to add anything , I m more than happy to assist!!