Enumerate All SharePoint 2010 Sites and Templates
Run this is PowerShell (With SharePoint snap-in):
Get-SPWebApplication "http://webapplicationurl/" | Get-SPSite -Limit All | Get-SPWeb -Limit All | Select Title, Url, WebTemplate, Configuration, ID | Export-CSV c:\IterateAllSitesSubsites.csv -NoTypeInformation
This will output a comma separated value file you can open with Excel and get all of your sites with their templates.
Comments
Post a Comment