With 2.1 and later you can extend and enhance your favorite script editor by creating Add-ons that define additional features in the PowerGUI Script Editor.
PowerGUI Script Editor Add-ons are simply PowerShell 2.0 modules which use the Script Editor SDK to define additional functionality. Using Add-ons you can do quite a lot of things, including but not limited to:
• Defining your own menus, menu items, toolbars, toolbar buttons, and dockable windows.
• Adding, inserting, modifying, or removing content in any of the documents that are currently open in the PowerGUI Script Editor.
• Automating functionality in the Script Editor by invoking any of the commands behind the menus and toolbars.
• Customizing the Script Editor experience through modification or overriding of existing functionality.
The Building Your First PowerGUI Script Editor Add-on tutorial document describes how you can get started creating and using Add-ons today.