Tuesday, July 21, 2015

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()

No comments:

Post a Comment