Thursday 3 July 2014

Restore deleted sites in sharepoint 2010

How to restore deleted sites in sharepoint 2010
In sharepoint 2010 using Powershell we can restore deleted sites.
Just Open PoerShell.
Run below command.
Get-SPDeletedSite
It will give GUID of deleted site.
Just copy that GUID.
Now run below command to Restore.
Restore-SPDeletedSite -Identity [GUID]
in the place of [GUID] just use site id which you got in the earlier step.
Now your Site will be available in Recycle bin.
Go to below path.
Site Actions > Site Settings > Recycle Bin
Select “Deleted from end user Recycle Bin”
Select the checkbox next to the site to restore and click “Restore Selection” from the menu above. Once completed, navigate to the newly restore site:
Ref:http://littletalk.wordpress.com/tag/powershell/