PowerShell To Create a New Site Collection

Situation: You want to create a new site collection in your SharePoint environment

Old Method: Go to Central Admin…

Smart Method: Use PowerShell

How?

Launch your Administrator: SharePoint 2010 Management Shell

Type

New-SPSite –url http://server/sites/DocumentCenter -OwnerAlias justsharepoint\administrator -Name "Document Center” –Template BDR#0

image

This will create a site collection with Document Center Template.

join our mailing list to get our free newsletter
* indicates required field

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Microsoft SharePoint 2010 Unleashed