O'Reilly logo

Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook by Yaroslav Pentsarskyy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring site themes and user interface artifacts

Custom branding and design artifacts are integral parts of any site. As developers create solution packages which are going to deliver branding artifacts to the site, those changes must be applied to the site in a traceable fashion so they can be reversed or backed up. Also, as your SharePoint site goes through a branding upgrade, the design artifacts must be applied on existing sites without much intrusion to site operation.

This recipe focuses on updating SharePoint managed theme references automatically by using PowerShell. Using this approach, you will be able to update any of your existing sites to use the new theme.

Getting ready

Ensure the site you are using for testing, in our casehttp://intranet.contoso.com ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required