Create Host Named Site Collection in SharePoint 2013 using Powershell

$owner = "domain\user"
$siteurl = "http:/x.com"
$name = " Site"

$w = get-spwebapplication  "http://hostweb.com "

New-spsite $siteurl –owneralias $owner –hostheaderwebapplication $w –name $name –template "STS#0"


Comments

Popular posts from this blog

Adjust the Search SharePoint Performance level

SharePoint 2013 User Profile synchronization versus import

Usage and Popularity Trends Report not showing correct numbers