SIGN UP MEMBER LOGIN:    
ARTICLE

Introduction to Power Shell for SharePoint 2010 Administration

Posted by Destin joy Articles | SharePoint October 21, 2010
In this article I am giving a small introduction about SharePoint 2010 Power shell.
Reader Level:

In this article I am giving a small introduction about SharePoint 2010 Power shell. 

It is a new Command line tool even though it is not a replacement to traditional command line tool it is more powerful than STSADM tool. It can be considered as new SharePoint 2010 management console for SharePoint 2010 Administrators. It uses short commands called  "cmdlets". There are hundreds of cmdlets and administrators can combine these with variables to create powerful scripts for different administrative operations in SharePoint 2010

1. Normally first thing would be how to start Power Shell. It is simple Go to start expand the menu Microsoft SharePoint 2010 Products then click on the SharePoint 2010 Management Shell

2. Please find the screenshot below for the same

1.gif
 
3. You will get a Power shell command prompt like below

2.gif
 
4. First thing we have to learn how to get help from Power Shell command. Next I am coming to that. For help you can use Get  -Help

5. Please find below an example Get –Help Get –SPWeb. This will return the help for SPWeb.As shown this is used to return all Subsites  that match given criteria

3.gif

6. Now we get some idea about this command. Suppose we need some examples for using this command .This can also be done using power shell

7. The command is Get-Help Get-SPWeb-Examples

4.gif  

8. Suppose we need to find out the list of all the "Service"related cmdlets in the SharePoint installation use the below command

Get-Command -noun "SPService*" | Sort Noun

5.gif

Login to add your contents and source code to this article
share this article :
post comment
 

Power shell is a very nice feature added to SharePoint 2010

Posted by Destin joy Oct 28, 2010

This is a cool stuff in SP 2010.Hope to see lot of new articles on this

Posted by jibin koshy Oct 24, 2010
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor