As we have seen in the previous recipe, pages contain web parts and other components which make up your SharePoint site.
Creating or editing existing pages alone wouldn't add much value if we weren't able to add new web parts to your pages.
In this recipe, we will take a look at how you can add an out-of-the-box web parts to one of the existing pages on the site. You can use the same mechanism to add the same web part to series of pages on the site.
As an alternative, you could navigate to each of the pages and perform the change using SharePoint user interface, or deploy a custom solution package which would make the appropriate change.
However, in both cases, you are either running the risk of user error while processing time consuming editing of multiple pages, or introducing a downtime while the solution package deploys.
Let's go ahead and see what's involved in provisioning SharePoint web parts using a PowerShell script.
This scenario...