Hi All,
In following post we will see how to create Site Collection by using Power shell.
Step 1:
Open Management Shell as an Administrator
Step 2:
Execute the below script.
Syntax:
Example:
In following post we will see how to create Site Collection by using Power shell.
Step 1:
Open Management Shell as an Administrator
Step 2:
Execute the below script.
Syntax:
New-SPSite "SiteCollectionUrl" -OwnerAlias "SiteCollectionOwner" -Template "TemplateID" -Name "SiteCollectionName"
Example:
New-SPSite "http://ingnssp:1947" -OwnerAlias "dns\admin" -Template "STS#0" -Name "SharePoint Waves"
0 comments:
Post a Comment