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 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results