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.

Scripting With Windows PowerShell -The home page for Windows PowerShell scripting learning resources.

Windows PowerShell Owner’s Manual -
Web-based guide for getting started with Windows PowerShell.

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:
Get-Command
Get-Member
Get-Help
Aliasing
Piping and the Pipeline in Windows PowerShell
Cmdlet Parameter Sets
Foreach-Object
Where-Object

Speak Your Mind

*

Disclaimer: The contents of this site are provided “AS IS”. Information and views expressed including URL(s) and other Internet website references, may change without notice. You bear the risk of using it. SharePoint, MOSS, SharePoint 2010, SharePoint 2013 and Microsoft are trademarks of the Microsoft Corporation.Learning SharePoint only provides Tips,Tricks and Tutorials for using Microsoft SharePoint, Microsoft Office and related Softwares.
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.