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) {





 Write-Host -ForegroundColor GREEN “Done.”


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


    It works for me.



Leave a Reply

15 49.0138 8.38624 1 0 4000 1 300 1