My favorite editor for PowerShell script is definitely PowerGUI from Quest Software, Inc. This editor is very intuitive and gives you a good overview of the PowerShell environment and extensive debugging features.
Recently I needed to create a script to use with AppV 5.0, which is based on PowerShell 3.0. PowerGUI has extensive support for PowerShell 2.0 and is capable of working with PowerShell 3.0 scripts too.
To enable the PowerShell 3.0 support you can use the following application executables, located in the installation folder, parameters:
AdminConsole.exe –version 3.0 ScriptEditor.exe –version 3.0
For the ease of use you can just alter the shortcut to the following properties:
Enjoy the power and potential from both worlds now!