Using MaintenanceWindows in SharePoint 2013

Sharepoint 2013 Maintenance Window Banner ScreenShot
Sharepoint 2013 Maintenance Window Banner

 

At the SharePoint Conference this week, Session SP210 on upgrading to SP2013 mentioned a brand new feature that didn’t exit in the preview edition: MaintenanceWindows.

As you can see from the screenshot above, this feature puts up a simple banner alerting users of the upcoming work.

The message is localized in the users language so long as language packs are installed.

The “More Information” link can point to any page you specify.

I was pretty excited about this, and couldn’t wait to try it out!

The PowerShell to do this wasn’t as easy as I expected.

I’ve pasted below what worked for me.
 

Ok so that’s it – refresh your website and you should see the pink banner on the screenshot above!

Note, I originally tried to do this by just setting up a blank object without paramters, and then setting the properties one by one, but I found that MaintenanceStartDate and NotificationStartDate could not be changed after the object was created.

– Jack

2 thoughts on “Using MaintenanceWindows in SharePoint 2013

  1. Thank you for that last bit of information you shared. we have been beating our heads each time we had to change one notification when we had multiple maintenance windows set. So as long as we .add the .updated version and as long as we do not need to change the Maintenance start date or notification start date we can modify it.

    1. Thanks Jonathan for taking the time to say this was helpful! Glad this was helpful and thanks for sharing your experiences with .add and .updated!

Leave a Reply