Sunday, May 13, 2012

Find All Sites Created with a Specific Site Template

Requirement is to find all blogs created in a SharePoint environment, to apply a fix. Sure, PowerShell can help to find all sites created with a specific site template:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Get All Blog sites
Get-SPWebApplication "" | Get-SPSite -Limit All | Get-SPWeb -Limit ALL | Where-Object {$_.WebTemplate -eq "BLOG"} | ForEach-Object {
  Write-Host "Site: $($_.Title) at $($_.URL)"

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...