$web = Get-SPWeb -Identity "http://spsrv/sites/web1/" Write-Host $web.WebTemplate "," $web.WebTemplateId
To list all Template Names and IDs:
Get-SPWebTemplate | select ID, Name, Title | Sort-Object ID
$web = Get-SPWeb -Identity "http://spsrv/sites/web1/" Write-Host $web.WebTemplate "," $web.WebTemplateId
Get-SPWebTemplate | select ID, Name, Title | Sort-Object ID
No comments:
Post a Comment