It might not be often that your customers or colleagues ask you “what template did you choose for the site XY?” and you ask them back “Why?” thinking that he might want to create a second site of this template, but his answer is short and precise: “Well, i deleted it accidently”. Mmh… accidently… You hit on site actions – site settings – delete this site and hit again the “are you sure”-confirmation button – by mistake?… Ok…
Two things which are elementary for using SharePoint: a) Training and b) Powershell.
So you can tell your customer, that you will restore the site collection accidently by running this powershell shell script unintended Image may be NSFW.
Clik here to view.
Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue Get-SPDeletedSite Restore-SPDeletedSite -Identity <siteid>
At first we need to get the Site Id. There fore the first line. In the second line we put our site id into the “<>” and afterwards the site should be there.
To learn more about it: http://technet.microsoft.com/en-us/library/hh272537.aspx
Hope you do not use it often. But if you need to use it more than 3 times a week, please refer to the elementary points (point a) of this blog.
..:: I LIKE SHAREPOINT ::..