Understand the Components
Before you start working with Windows PowerShell, it's helpful to understand the various components involved and how to find them. The first and most prominent piece is the console application that hosts the PowerShell runtime, the second is PowerShell itself, and the third is the PowerShell and SharePoint cmdlets that do the bulk of the work. Once you are familiar with these various components, the rest is just syntax and structure. The following sections will cover each of these three key elements.
The SharePoint 2010 Management Shell
To use Windows PowerShell with SharePoint, you must first make the Windows PowerShell environment aware of the SharePoint cmdlets and assemblies. The easiest way to do this is to open ...