SP2013 – Get all 2010 and 20130 style custom workflows associated with lists in web application

Hello everyone!

It’s time to do some reporting on our farm – how about listing all of the workflows you have implemented throughout? It’s quite easy to do with our trusty PowerShell!

So, without further ado here it is:

Basically, we need to load up “Microsoft.SharePoint.WorkflowServicesBase” dll to be able to list all 2013 style workflows. Then we just loop through all of the sites/lists in the web application and do the querying…

It’s as simple as that, here is what an output looks like:

Enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *