Friday, March 20, 2015

Restore of deleted site collection by power shell



Restore of deleted site collection by power shell

This happens many times with the SharePoint administrators that someone deletes the site unfortunately and want it back. What happens if it’s also delete from the recycle bin.

We can still restore the deleted site by using the power shell commands.

Initially get all the sites that were deleted, this provides the sites deleted list with the Site ID

Get-spdeletedsite | select path,siteID

Once you get the details, Restore the site with the below command.

Restore-spdeletedsite –identity siteID(which we got in last command)
 


I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

ShareThis

X