Do you find yourself writing the same scripts over and over? Me too, so I'm committing this one here for public record. I needed to change the site image for a given site collection, and given the numerous ways to do this, I found PowerShell the easiest and quickest. First script is to display all the site logo information, and the second is to change the site logo for all of the sites.
Display the site image for all the sites in a SiteCollection
$sitename=
"http://isstith-w500"
$site=new-object
Microsoft.SharePoint.SPSite($sitename)
foreach($web
in
$site.Allwebs) {
write-host
$web.SiteLogoUrl
}
$site.Dispose()
Change the site image for all sites in a given SiteCollection
$sitename=
"http://isstith-w500"
$sitelogo=
"http://isstith-w500/shared documents/sitelogo2.png"
$site=new-object
Microsoft.SharePoint.SPSite($sitename)
foreach($web
in
$site.Allwebs) {
$web.SiteLogoUrl=$sitelogo
$web.Update()
}
$site.Dispose()
Good luck and happy SharePointing