Tuesday, January 19, 2021

PowerShell script for changing the site logo

In this post we will go through the PowerShell script for updating or I can say changing the sharepoint site logo. Even though its pretty simple activity which we can perform it from UI, but using PS script will make us more comfortable once we used to it.

Note: Before going through the please go through my first post in power shell series which convers how to use PS scripts.

Below is the very simple script for updating the logo of the site.

$web = Get-SPWeb "http://sharepoint2013”
$web.SiteLogoUrl = "http://sharepoint2013/publishingimages/logo.png"
$web.SiteLogoDescription = "Sharepoint 2013 Logo"
$web.Update()



No comments:

Post a Comment