One more gequick post today, this PowerShell script will iterate through all Webs within a Site Collection, print out their Title, URL, WebTemplate (Site Template) name and it language.
#############################################
cls
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$site = Get-SPSite “http://mysite.mydomain.local“
foreach ($web in $site.AllWebs) {
$web | Select-Object -Property Title,Url,WebTemplate,Language
}
$site.Dispose()
#############################################
No comments:
Post a Comment