PowerShell Command to create new site collection
Create a Content Database
New-SPContentDatabase -Name IC_Content_DB -WebApplication http://sharepoint-demo
Note :
“IC_Content_DB”
:- Name of new content database for new Site Collection
“http://sharepoint-demo” :- Name of Web Application where you want to
create new site collection with the url http://sharepoint-demo/IC
Now create a site collection
$template = Get-SPWebTemplate
"STS#0"
New-SPSite -Url "http://sharepoint-demo/IC"
-OwnerAlias "sharepointdemo\gaurav"
–ContentDatabase IC_Content_DB
-Template $template
Comments