PnP Script to remove/delete workflows from SharePoint List

Copper Contributor

Hi everyone! Can someone help me with how to remove workflows from a SharePoint list using Powershell? I have a lot of SharePoint Designer 2010 workflows that I need to remove from numerous lists and I cannot figure out how to do this. I have tried using Remove-PnPWorkflowSubscription and Remove-PnPDefinition but it wasn't working (below link). I am not very familiar with PowerShell so easy explanation please.

https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sh...

Thanks.

0 Replies