Lists and libraries are used everywhere in SharePoint and content from various specific sites is often required to be rolled up on parent sites or a home page. For example, a company intranet may have a designated section for company news. Your business users may ask you to roll up company news to a home page so that everyone can see the latest company news or the latest company performance. Additionally, you may be asked to filter news items based on the category of the current news item.
Out-of-the-box SharePoint has a variety of tools you can use to roll up data. One of the tools we'll use here is Content Query Web Part which allows us to specify the data on the site we'd like to see and roll it up on the chosen page.
In this recipe, we'll take a look at what's involved with provisioning an instance of such a web part using PowerShell.
This approach will come in handy when you need to provision a series of roll ups for each instance of...