All Webs and Site Templates in use within a Site Collection PowerShell Script
$site = Get-SPSite "http://yoursite"
foreach ($web in $site.AllWebs) {
$web | Select-Object -Property Title,Url,WebTemplate
}
$site.Dispose()
foreach ($web in $site.AllWebs) {
$web | Select-Object -Property Title,Url,WebTemplate
}
$site.Dispose()
Comments
Post a Comment