You are on page 1of 1

Video description: This video walks through the process of creating multiple sit e collections with multiple content

database names in SharePoint 2010 using Wind ows PowerShell. To create multiple site collections in SharePoint 2010 using windows PowerShell: In SharePoint 2010 Management Shell, type the follwoing script. On the last line , presee ENTER twice to create a blank line and execute the script $i = ( Sales , Marketing ) ForEach($url in $i) { New-SPContentDatabase -Name WSS_Content_Intranet_$url -WebApplication http://Int ranet.contoso.com New-SPSite -Url http://Intranet.contoso.com/sites/$url -ContentDatabase WSS_Cont ent_Intranet_$url -OwnerAlias Contoso\Administrator -Template STS#0? } Note: You will need to change the web application link to reflect your own web a pplication as well as the OwnerAlias domain\account information.

You might also like