Creating new SharePoint sites and site collections using PowerShell is extremely easy in SharePoint 2010. Just follow these few quick steps:

  1. Launch the SharePoint 2010 Management Shell
  2. Get a listing of all the site templates

  3. Select the template you want to instantiate
    $template = Get-SPWebTemplate "[TEMPLATENAME]"

  4. Create the new site
    New-SPSite –URL [URL] –owneralias domain\username –template $template

And that’s all there is too it.



Posted by Chris Buchanan

Leave a reply

Your email address will not be published. Required fields are marked *