Posts
149
Comments
1870
Trackbacks
14
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 | Comments (7)



Search this Blog via
Google Search This Blog

Tag Cloud