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:
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: