Powershell for working with SharePoint Recycle Bin

I had to look through the SharePoint recycle bin today to look for something – the UI interface is a bit lacking – it only shows 200 items at a time with no ability to search so I turned to powershell…

Looking at the recycle bin is actually very easy…

Using some of the simple queries above, I was able to look deep inside our recycle bin quickly without having to browse it in pages of 200 items at a time.

Update: this came in kinda handy.. one of our developers wrote some “site clean up code” Long story short, several hundred web’s were deleted that should not have been…

 

 
One More:

 

One thought on “Powershell for working with SharePoint Recycle Bin

  1. Hello,

    Above script works fine for one single site collection but i would like to get on entire farm. Could you please help me in modifying above script to get the report in CSV file for all site collections in entire farm.

    Thanks in Advance.

Leave a Reply