0

I'm searching for a powershell script to link/redirect all the logos of the sites to site collection root.

I know that I can code in master page file, like this solution (http://samanalie.wordpress.com/2013/07/26/site-logo-link-to-root-site-collection-in-sharepoint-2013/) but can I do it better, using PowerShel?

Please help me! Thanks!

2

You only need to run one line of PowerShell to set all the site logos on SharePoint sites in a site collection (much easier than setting them by hand).

(Get-SPSite http://SiteCollectionUrl).AllWebs | foreach {$_.SiteLogoUrl = "the path of your logo.gif"; $_.Update()}
  • It did not work for me. The code executed properly. But subsite is still going to its homepage instead of root site's homepage. – user26907 May 16 '14 at 16:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.