theme-sticky-logo-alt

Change Sharepoint Site Collection Logo with Powershell Tutorial

1 Comment

When you create a SharePoint site, it comes with the orange logo icon.   You can easily change it by using Powershell and an image that’s already on the site.  Here is how:

Original Logo:

The PowerShell Code:
     
$mainurl = “http://vlad.test.loc”

$Web = Get-SpWeb $mainurl

Write-Host -ForegroundColor White ” – Changing the logo of sites …” -NoNewline

$sitename= $mainurl

$sitelogo= $mainurl + “/PublishingImages/powershell.jpg”

$site=new-object Microsoft.SharePoint.SPSite($sitename)

foreach($web in $site.Allwebs) {

$web.SiteLogoUrl=$sitelogo

$web.Update()

}

$site.Dispose()

 Write-Host -ForegroundColor GREEN “Done.”

  Write-Host

Result :

It also changed the logo of the my  Record Center Subsite. 
Previous Post
Create Record Center Content Organizer rules using Powershell
Next Post
Out of the Box SharePoint Templates and how to use them

1 Comment

  • December 11, 2015 at 5:23 am
    Amit Kumar Verma

    Great!!!

    It works for me.

    Thanks

    Reply

Leave a Reply

15 49.0138 8.38624 1 0 4000 1 https://vladtalkstech.com 300 1