Removing Items from Recycle Bin that uses specific Content types

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


Category: powershell Time: 2016-07-29 Views: 4

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.163 (s). 12 q(s)