Get template id sharepoint site with powershell

There are many situations or tickets we are getting where we need to Get template id sharepoint site that are currently using. I mean template id of one site currently user is using. Here i am sharing how to Get template id sharepoint site with powershell.

$web = Get-SPWeb http://win-7uqhlrcrq7g:40331/sites/SpTechSupport
$web.WebTemplate + " " + $web.WebTemplateId
$web.close()
Get template id sharepoint site with powershell

Get site template id sharepoint 2019 using powershell | #SharePoint2019, #SiteTemplate

Get site template id sharepoint 2019 using powershell | #SharePoint2019, #SiteTemplate


Categories: powershell script, sharepoint templates

Tags: , , , , ,