I migrated a site collection from PROD to DEV env. using Backup-Restore method.
All the workflows for a list that were In Progress also got migrated with the same status. I would like to terminate all of these workflows now as they will not be used in DEV env.
Is there any powershell or NWAdmin command to do so? or from Site level?
Is there any better way to migrate the site data excluding the running workflows?