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 search web parts automatically with PowerShell

The effectiveness of configurations described earlier will be put to the test when your users navigate to the search page and execute their search query. At that moment, SharePoint will return a result page where your users find all of the features described so far.

SharePoint has a variety of out-of-the-box web parts allowing you to help users navigate through content on the search results page. In this recipe, we'll take a look at what's involved in configuring those web parts using PowerShell. The approach described here will allow you to have a scriptable set of changes that can be applied to any of your environments, rather than a lengthy list of manual configurations which might ...

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