Managing SharePoint with PowerShell
I am now ready to take on the core of the subject of this book: how to interact with your SharePoint environment using PowerShell. In this chapter, I will make various analogies to compare how PowerShell relates to classic .NET interactions using the SharePoint object model. Throughout the following sections you will learn how you can write PowerShell scripts to manage and interact with different levels of SharePoint artifacts such as site collections, sites, lists, items, and so on. By the end of this chapter, you will have been exposed to the different components of SharePoint, and to their methods and properties that are made available through the object model. As mentioned earlier in this book, I am assuming that by now you have had some level of exposure to any version of SharePoint, and that you understand the different hierarchies of entities that exist within it.