Determining your site template type can be tricky, if not downright difficult, here’s a great way of doing it.
And a site template reference can be found here.
Determining your site template type can be tricky, if not downright difficult, here’s a great way of doing it.
And a site template reference can be found here.
# Determine site type
$web = Get-SPWeb “http://server/sites/legal/sitename”
$templateID = $web.WebTemplateId.ToString()
Write-Host $templateID