Create Site Collection in a specific Content Database

Title: Create Site Collection in a specific Content Database

Scenario: My previous post on the same topic are some ways to create site collections in the specific content database. Programmatically we can also do it as mentioned in this blog post done by my friend Sandeep. So I kind of put them all in all and created a simple console application to create site collection in a specific content database.

Download the file and try for yourself.

Usage: use the command as show below.


Comments