Tag Archives: cmdlets

PowerShell Demo Tools

Several people who attended my PowerShell talk at SPC09 have been asking for the “Start-Demo” Script I used to demo PowerShell commands without having to type them in front of a live audience.  

The script I used is really just a slightly modified version of this one 


iI recommend just using the version provided by the PowerShell team.

Also, I recommend pairing this with the Sysinternals tool ZoomIt to allow for zooming and underlining elements on the screen.

This is a free tool available from the Sysinternals website: http://technet.microsoft.com/en-us/sysinternals/default.aspx

PowerShell Scripting Editor

If you’re anything like me, you like to script in an organized fashion. Notepad just doesn’t quite do it for me, so be sure to check out the new PowerGUI Script Editor (comes with PowerGUI), which has built in intelli-sense and color coding!

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.

Ref : List All SharePoint 2010 PowerShell Commands By Adam Preston