I work at Rackspace on the Dedicated SharePoint team – which means that we create a new SharePoint farm on dedicated hardware for every customer who comes online with us. This translates to only ever needing to create a few WEB Apps and Site Collections per customer. With this in mind – it’s usually easier to just do this via the GUI than to break out Power Shell.

From time to time – we need to create an abundance of sites which makes the argument for “typing” stronger. The command its self is:

New-spsite

Below I have listed the help which is available for any PowerShell function via the command:     GET-HELP

NAME

New-SPSite

SYNOPSIS

Creates a new site collection at the specified URL.

SYNTAX

New-SPSite [-Url] <String> -OwnerAlias <SPUserPipeBind> [-AdministrationSiteType <None | TenantAdministration>] [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-ContentDatabase <SPContentDatabasePipeBind>] [-Description <String>] [-HostHeaderWebApplication <SPWebApplicationPipeBind>] [-Language <UInt32>] [-Name <String>] [-OwnerEmail <String>] [-QuotaTemplate <SPQuotaTemplatePipeBind>] [-SecondaryEmail <String>] [-SecondaryOwnerAlias <SPUserPipeBind>] [-SiteSubscription <SPSiteSubscriptionPipeBind>] [-Template <SPWebTemplatePipeBind>] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]

DESCRIPTION

The New-SPSite cmdlet creates a new site collection with the URL and owner specified by the Url and OwnerAlias parameters.

For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation (http://go.microsoft.com/fwlink/?LinkId=163185).

RELATED LINKS

Get-SPSite
Set-SPSite
Backup-SPSite
Move-SPSite
Restore-SPSite

REMARKS

To see the examples, type: “get-help New-SPSite -examples”.
For more information, type: “get-help New-SPSite -detailed”.
For technical information, type: “get-help New-SPSite -full”.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>