Use PowerGUI to work with powershell scripts

I think this must be one of the best tips I can give you if you are working on a powershell script: Download and install PowerGUI. It is free and the object explorer is invaluable when you are trying to figure out what your script has done and what went wrong. Seriously. Try it.

PowerGUI is a free, community developed Powershell GUI and debugger. It is hosted and sponsored by Dell.