List All SharePoint 2010 PowerShell Commands

Posted: 10/20/2009 in PowerShell
Tags:

UPDATE: Post now resides on new Blog site! http://www.tcscblog.com/2010/11/23/list-all-sharepoint-2010-powershell-commands/

 

In order to master SharePoint 2010, you will have to get comfortable utilizing PowerShell (aka SharePoint 2010 Management Shell). There are so many commands (or command-lets as they are called) that interact with SharePoint that it makes it nearly impossible to remember them all. Use this PowerShell command to output a list of all cmdlets that are found within the SharePoint 2010 namespace:

Get-Command –PSSnapin “Microsoft.SharePoint.PowerShell” | format-table name > C:\SP2010_PowerShell_Commands.txt

If you would like a little more detail, then try this one:

Get-Command –PSSnapin “Microsoft.SharePoint.PowerShell” | select name, definition | format-list > C:\SP2010_PowerShell_Commands.txt

Note: You may also type gcm as the alias for Get-Command.

Advertisement
Comments
  1. [...] Adam Preston posted List All SharePoint 2010 PowerShell Commands that provided the necessary information to complete the deletion. Namely, run get-spwebapplication [...]

  2. [...] I wanted to know what PowerShell commands were available to me, so I located a blog post by Adam Preston detailing how to dump all of the commands to a text file. Once you have the [...]

  3. job board site…

    [...]List All SharePoint 2010 PowerShell Commands « SP2010 Blog[...]…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s