Create a new Site Collection in a new Content DB

This is more a reminder for myself since I am ALWAYS forgetting this command. Run this on the SharePoint server under the farm account to ensure you don’t have any restricted access issues.

stsadm -o createsiteinnewdb -url http://server/sites/collection -owneremail you@sharepointadmin.com -ownerlogin testss\SPAdmin -sitetemplate sts -title “Site Collection” -databaseserver SERVERDB -databasename NewContentDB

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s