Geeks With Blogs


Search this Blog via
Google Search This Blog

Kit Ong's News Pick Of The Day All things .NET, SharePoint and Latest Technology News June 2012 Entries
Restore everything from recycle bin in SharePoint 2010

Here's a sample Powershell script to restore everything from a site recycle bin.

$ritems = (Get-SPWeb "http://<site>" ).RecycleBin | Select ID
foreach($item in $ritems) { (Get-SPWeb "http://<site>").RecycleBin.Restore($item.ID) }


Posted On Monday, June 25, 2012 11:18 PM

Copyright © Kit Ong | Powered by: