Create a New Site Collection in SharePoint 2010 using PowerShell

How to create a top level site collection in SharePoint using PowerShell?
To add new site collection use the following cmdlets

New-SPSite –url <URL> -name <site collection name> -owneralias <site collection admin>
-template <template name>

Sample PowerShell to create new site collection in SharePoint 2010

New-SPSite –url http://virtualizesharepoint -name Home -owneralias vSharePoint\SpAdmin
-template STS#0

If you want to know the list of templates :

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: