Content Database FAQ

This post describes the most frequently asked questions on a content database in SharePoint. Since there is a lot of misconception on how different SharePoint components relate to each other, I will try to answer some common questions. Please feel free to comment or ask additional questions in the comment section. I will add them Read more about Content Database FAQ[…]

Error using Move-SPSite cmdlet

This post discusses an error using the Move-SPSite cmdlet. Let’s say you have 1 Web Application with 2 content databases: – Database 1 – Database 2 Database 1 contains a site collection with the following URL: http://portal.contoso.com. For some reason, you moved the site collection using the following cmdlet: So far so good. Now let’s Read more about Error using Move-SPSite cmdlet[…]

Get Site Collections per Content Database oneliner

This will be a very short post, as it contains only 1 line of PowerShell code, and is not very hard to understand. It shows you all content databases, and for each of the content databases, it will show you the site collections within this content database. That wasn’t so bad right? Just copy and Read more about Get Site Collections per Content Database oneliner[…]

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[…]