A very handy Silverlight application has been released on Microsoft TechNet to provide a visual interface for assembling PowerShell commands to be used in SharePoint 2010 products and Office 365.
It uses a drag-and-drop interface to add the verbs and nouns of each cmdlet, and will automatically filter available options depending on which are selected. Once the cmdlet has been chosen, it will display the required and optional parameters associated with it so that you can complete the command. The example below shows how it can be used to design a Move-SPSite command.
Using the drop-down options available at the top left corner of the interface, cmdlets can be filtered by selecting products SharePoint Foundation 2010, SharePoint Server 2010 or Office 365 and there are also a few scenarios that can be chosen in the “I need to” drop-down – e.g., “Add a user to a domain group”.
You can access the command builder here: http://www.microsoft.com/resources/TechNet/en-us/Office/media/WindowsPowerShell/WindowsPowerShellCommandBuilder.html For more information from Microsoft on PowerShell and SharePoint in general, check out the Resource Center here:http://technet.microsoft.com/en-us/sharepoint/ff603532.aspx