Adding Service Notices to the SharePoint 2013 Suite Bar using PowerShell

 

Overview:

I was recently tasked with installing an update to a live SharePoint 2013 extranet site that is actively used by staff as well as external clients. Since the update caused our extranet site to be unavailable for several hours, I found myself wishing for a simple but effective way to alert all SharePoint 2013 site users about upcoming scheduled maintenance. I could send e-mails, but prefer not to do so since we have quite a few people who have access to the SharePoint site, but very few active users. Instead of sending out alerts to more than one hundred employees letting them know that a service they may or may not use will be unavailable, I wanted to publish a notice to the SharePoint site itself.

The Problem:

I need to find a way to publish a notice of anticipated service interruptions on every page of my SharePoint 2013 site. This seemed simple enough at first, until I began to consider the fact that I have multiple site collections, each with multiple sites in my extranet Web Application. Users access the site from a wide variety of links, so publishing a notice on the home page would not be effective. Every site has unique permissions, depending on which users need access to the site’s contents, so publishing announcements on a site-by-site basis would be a real chore.

I am using a pretty generic out-of-the-box SharePoint 2013 installation, so my site is using the default Seattle master pages. I thought about customizing the master pages to include a message, but I would have to do the same for every site collection in my Web Application, which seems to be more trouble than it’s probably worth.

Continue reading “Adding Service Notices to the SharePoint 2013 Suite Bar using PowerShell”