0

I want to check on which webtemplate site is created. Like for site "xyz/abc.default.aspx" , I want to check on which web templated it was created. Can anyone provide me the powershell command to check same.

2
$web = Get-SPWeb http://sitename.com  
write-host "Web Template:" $web.WebTemplate " | Web Template ID:" $web.WebTemplateId 
$web.Dispose()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.