Navigation

Tuesday, 10 March 2015

Powershell to Edit Company Logo inside whole Site Collection

With SharePoint Branding, it is cumbersome to deploy the whole branding solution for just changing logo. I know it is a little bit naughty, but I would still add new logo to branding solution and check in my code to TFS for future deployment. For temporary I have quick and easy Powershell script to update all site and sub sites logo inside site collection.

(get-spsite http://SiteCollURL).AllWebs | foreach {$_.SiteLogoUrl = "/PathToYourLogo/logo.png"; $_.Update()}

No comments:

Post a Comment