This question is an exact duplicate of:
How to clean-up or remove the orphaned workflows in a site collection?
I have created a SPD 2010 reusable workflow and deployed in SP 2013 environment. But for some of the sub sites and some document libraries I am unable to trigger this workflow.
So I want to delete the existing workflow instance which is associated with the content types from this site collection.
Is there any PowerShell script to do this job?