Microsoft has made available an online tool to help create PowerShell Cmdlets for SharePoint 2013: Windows PowerShell for SharePoint Command Builder.
You can quickly select the environment you are working with in the Products drop down.
The Quick Steps drop down helps you get started by providing a starting point for various tasks.
After filling out the required properties you can see a preview of the command. From here you can copy the command to the clipboard or clear the design surface to create a new command.
Windows PowerShell for SharePoint Command Builder is a great way to get started with PowerShell and can help you quickly create Cmdlets for SharePoint 2013.
Have fun with the PowerShell for SharePoint Command Builder!