.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

SharePoint 2013 Site Template ID List For PowerShell

Posted By:Sagar Pardeshi       Posted Date: November 25, 2014    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we explore creation of a new Site Collection or Web Application by PowerShell, we have the option to apply the Site Template directly.


However, for PowerShell to accept it, you must provide it the Template ID (for example: APPCATALOG#0). 

When creating a new site collection from Central Administration, we can select a site template from the Template Selection section. But sometimes we may need to create sites from the PowerShell using CMDlet commands. At that time we need to provide the site template name not the site template Title.

One can easily use the Get-SPWebTemplate command to get a list of all the templates in the SharePoint environment.

For example, to create an App Catalog site:

New-SPSite -Url http://sp:1001/sites/AppCatalog -OwnerAlias "serverName\sp_admin" -Name "App Catalog site" -Template "APPCATALOG#0" 

Here is the SharePoint 2013 Site Template ID List for PowerShell:

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend