Forum Discussion

Nigel_Price9911's avatar
Nigel_Price9911
Iron Contributor
Oct 17, 2020

How Do I get the data and time a workflow ran using PnP-PowerShell

Hi

 

I am trying to find when all of my SP2010 workflows were run.

 

I have a PnP-PowerShell script which goes round all of the site collections, sites and subsites looking for the workflows.

 

I now need to find when they were last run, again using the PnP-PowerShell.

 

Regards

 

Nigel

4 Replies

  • yunusemrearac's avatar
    yunusemrearac
    Copper Contributor

    Hi Nigel_Price9911,

     

    You can use the Powershell command below. Workflows will be listed by browsing all sub-sites.

     

    https://gist.github.com/joerodgers/cae8fcf81eb9ea84cabfadcb15cb5cf3

     

Resources