Use PowerGUI to accomplish you task and turn on the PowerShell script option from the view menu. This will add a tab that lets you see the actually cmdlets begin used for the particular task. In this ...