Showing posts with label Create a New Site Collection in SharePoint 2010 using PowerShell. Show all posts
Showing posts with label Create a New Site Collection in SharePoint 2010 using PowerShell. Show all posts

Create a New Site Collection in SharePoint 2010 using PowerShell

0 nhận xét

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

New-SPSite –url -name -owneralias
-template


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 : http://virtualizesharepoint.com/2012/01/03/site-template-names-and-ids-in-sharepoint-2010/