I want to delete custom content type from Pages library but it did not allow me to delete and says "content type is still in use". Then i get to know that i need to delete it from following locations as well: 1. Root site Recycle bin 2. End user recycle items 3. Deleted from end user recycle bin
After deleting from these locations, i was able to delete CT from Pages library successfully. But Now,
I want to write a powershell script instead to delete only those specific items from above three locations that still having reference these content types. How i specify only those items in my script? any example can help me?
I don't want to delete all items from recycle bin