How To Search and Restore files from Site Collection Recycle Bin

努力學習的小熊發表於2015-12-11
$sitecoll  = Get-SPSite "http://wheresmydoc.findit.com"

$sitecoll.RecycleBin | ?{$_.Title -match "MyDocIsHere.xls"}

$sitecoll.RecycleBin.Restore("place doc ID here")

 

相關文章