To check which site template is used for a specific site, try the following:
Run the below cmdlet with your SharePoint site URL.
(Get-SPWeb http://debug.to/melqassas).WebTemplate
To check which site template is used each site in site collection, try the following:
Run the below cmdlet with your SharePoint site collection URL.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Stop $site = get-spsite http://epm:19812 foreach ($web in $site.AllWebs) { $web | select URl, WebTemplate , WebTemplateID }
To get the list of all SharePoint Templates, try the following:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Stop Get-SPWebTemplate
This cmdlet may take some time
You might also like to read
1k questions
671 answers
451 comments
193k users
Related Activities
Categories
Most popular tags