Powershell for sharePoint 2010 Tutorial
Some of the Important links that will help you learn PowerShell in SharePoint 2010.
Introduction – After installing SharePoint 2010 Products, the applicable Windows PowerShell cmdlets are available by using the SharePoint 2010 Management Shell, or by using the Windows PowerShell console. With the management shell, you can manage every aspect of SharePoint 2010 Products. You can create new site collections, Web applications, user accounts, service applications, proxies, and more. The commands from the management shell output SharePoint objects based on the Microsoft .NET
Platform. These objects can be applied as input to subsequent commands or stored in local variables for later use.
Permissions - Before you can use the management shell and the Windows PowerShell cmdlets, verify that you meet the following minimum requirements :
If you do not have membership in the SharePoint_Shell_Access role or WSS_Admin_WPG local group, use the Add-SPShellAdmin cmdlet. When the Add-SPShellAdmin cmdlet is used, the user is added to the WSS_Admin_WPG group in all front-end Web servers and is added to the SharePoint_Shell_Access role. If the target database does not have a SharePoint_Shell_Access role, the role is automatically created. Once the Add-SPShellAdmin cmdlet has been run, the user can run SharePoint 2010 Windows PowerShell cmdlets in a multiple-server farm environment.
Now lets come to our main topic the references!
Learning Windows PowerShell - There are several Windows PowerShell learning resources for SharePoint IT professionals who are not
familiar with Windows PowerShell.
Windows PowerShell Documentation on TechNet - This section of the TechNet Library contains Web copies of the core Windows PowerShell Get-Help topics. The section also has Web copies of the Windows PowerShell Getting Started document, the PowerShell.exe help, and a Windows PowerShell primer.
Windows PowerShell Quick Reference – Downloadable copy of the Quick Reference document installed with Windows PowerShell.
As you read these resources, consider that the following concepts and cmdlets are useful ones to learn
before using Windows PowerShell for SharePoint 2010 Products:
• Piping and the Pipeline in Windows PowerShell
• Cmdlet Parameter Sets