Restore deleted site collections SharePoint 2013

In SharePoint 2013 it is possible to restore a deleted site collection. For more information, read this article: http://technet.microsoft.com/en-us/library/hh272537.aspx You can use the Restore-SPDeletedSite cmdlet to restore a site collection. However, if you removed the site collection using the Remove-SPSite cmdlet using PowerShell, the site collection will not be stored in a SPDeletedSite object. This Read more about Restore deleted site collections SharePoint 2013[…]

Get all subsites of a subsite using PowerShell

Getting a list of all subsites of a particular site (not a site collection) was a little more work than I expected, so here is how I did it. Let’s say we have the following situation site structure: What if we want an overview of all sites under “Https://portal.sharepointrelated.com/Projects”? My first thought was to use Read more about Get all subsites of a subsite using PowerShell[…]

Change site collection administrators using PowerShell

In a minute, I will show you how to change the site collection administrators for all site collections using PowerShell. Thanks to Maarten Peeters for helping! But first, it may be easy to get a result for all the current site collection administators, in case you want to roll back: Now if you want to Read more about Change site collection administrators using PowerShell[…]

Maximum file size per extension in SharePoint 2013

Summary: This blog post describes how to use a new feature to set a maximum file size per extension in SharePoint 2013. As most of you know, you are able to set the maximum upload size in SharePoint 2010 and SharePoint 2013 in the General settings for each Web Application. The default maximum upload size Read more about Maximum file size per extension in SharePoint 2013[…]

Content Database size report using PowerShell

Summary: This post describes how to get a content database size report using PowerShell. What does it do? The script will create a report of all Web Applications and the associated Content Databases. It will tell you how big each Content Database is in GB. The result will be saved in a .txt file. Optionally, Read more about Content Database size report using PowerShell[…]