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 web parts in bulk with PowerShell

When working with SharePoint pages and web parts on them, you may often find a need to modify web part properties for existing or new web parts throughout the site. For example, a new web part may be required to be deployed to many pages on the site and needs to be configured with the required parameters. In another scenario, your developers may have updated the functionality of the web part and now it consumes a new set of properties or expects different values for its properties. If the modified web part is used on multiple pages within your site, it may crash or not function properly until valid configuration values are provisioned on each page which uses it.

In this recipe, we'll take a look at ...

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