List all PowerShell Command-let’s in SharePoint 2010

This is the series of PowerShell Scripts in SharePoint 2010. Learn a cmdlet (command-let) a day.

Cmdlet(Command-let)

Cmdlet’s are compiled commands installed with PowerShell. When you start “SharePoint 2010 Management PowerShell”, the console starts with pre-loaded cmdlets.

Day 1:

Get-Command

Get-Command cmdlet will return all commandlets registered with PowerShell.

-Module

Passing Module value with Get-Command will return only the cmdlet’s available on the specific Module.

Syntax:

Get-Command -Module <<Module Name>>

Example:

Get-Command -Module Microsoft.SharePoint.PowerShell

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>