PowerShell to manage SharePoint Online Site Header and Footer Logos

Daniel Chee 251 Reputation points
2021-09-17T08:22:03.937+00:00

Hi MS Q&A,

Seeking advice and recommendation on PowerShell cmdlets / scripts to review and manage existing referenced Header / Footer Logo Image URLs configured for SharePoint Online Sites to support options to consistently apply Logos across a number of targeted Sites to reference centralised Logo images?

Came across the following Get-PnPFooter and Set-PnPFooter cmdlets and seeking similar options to manage Header Logo and Thumbnail Logo.

https://learn.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpfooter?view=sharepoint-ps
https://learn.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpfooter?view=sharepoint-ps

Appreciate any advice or information.

Thank you.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,511 Reputation points
    2021-09-17T19:23:34.527+00:00

    Hello @Daniel Chee

    I believe the article below can help you better understand how to solve this problem, also checking the example commands you can use:

    https://learn.microsoft.com/en-us/sharepoint/dev/features/site-footer

    If the answer was helpful, please don't forget to vote positively or accept as an answer, thank you.


  2. Rich Matheisen 45,906 Reputation points
    2021-09-20T01:37:46.063+00:00

    There are articles online about modifying the site header. I suppose that getting the information would just be accessing the properties of the site.

    See if these two links are any help:
    sharepoint-online-change-header-layout-site-logo-background-using-powershell.html
    modifying-sharepoint-modern-site-header-layout-and-site-logo-using-pnp-powershell