I have created three script editor add-ins for the PowerGUI script editor;
I mentioned the first one in a previous post (https://unlockpowershell.wordpress.com/2010/10/30/copytocolorizedhtmlscript-editor-add-on-for-powergui/)
You can download that add-in at the following page: Copy to Colorized HTML
The second add-in was created to support my work on the PowerShell Bible, as code lines need to be less than 80 characters, I am using lots of splatting. It’s a lot easier for me to type the cmdlet name and parameters on one line, and then convert to a splatted has table, as I get intellesense and tab completion.
Download this add-in at the following page: Create Splatted Hash Table
The third add-in will copy the current script to a new window. As part of this, it creates a new folder for the new script, and saves it with a file name of <script name>,Copy.n.ps1 where ‘n’ is equal to the current number of copies in that folder.
I started this out as a fun follow up to Doug Finke’s version for the PowerShell ISE:
I thought it would be a simple copy to new window, but Denniver on the PowerGUI forums suggested the save to a new file concept. Thanks, Denniver!
Download this add-in at the following page: Copy To New Window
Download them, play with them, leave comments here or on the PowerGUI forums, and I will try to extend them to fit your needs.