PowerShell Community Toolbar – New Feature

July 25, 2010

The new toolbar version for Internet Explorer and FireFox is available and includes one major feature - the option to Minimize Gadgets and maintain the state of the gadget. A "Minimize" button was added next to the "Close" button:   Click it and the gadget is minimized back to the toolbar (notice the Green arrow), and can be maximized again by clicking on its icon on the toolbar.   Another part of this feature is the "Preview" option - once hovering over the gadget icon on the toolbar, you can see...

New PowerGUI Script Editor Add-on

July 10, 2010

When you’re working with the PowerGUI script editor, writing new stuff or debugging your scripts, you have several options to run/debug your code:     As you can see there are two keyboard shortcuts to run code (F5 and CTRL+F5) and there’s one more to execute selected code (CTRL+F7). When I debug my scripts in the script editor I prefer to use just one shortcut, if there is some selected code run it (Execute Selection) otherwise run everything (Start Debugging). We can set the same shortcut for both actions in the editor (...

Alias expansion in PowerGUI Script Editor

July 8, 2010

In a previous post I wrote about the new PowerGUI Script Editor SDK and showed an example of creating a new Toolbar with one command to expand aliases in the code pane. The ExpandAlias command is now available as an Add-on.   The Add-on module creates a new menu item under the Tools menu and assign it a keyboard shortcut (Control+E).   Write some code that contain aliases in the script editor code pane   Click on the ExpandAlias menu item (or press CTRL+E) to...
no comments

2010 Microsoft MVP Award

July 1, 2010

Earlier this evening I got a very special email from Microsoft:   Dear Shay Levy, Congratulations! We are pleased to present you with the 2010 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in PowerShell technical communities during the past year. I’m honored to get the award for the third time. Big thanks to the PowerShell community and the friends from Twitter land for your...

PowerGUI – Take control of the script editor

In his PowerShell Editor Roundup: PowerGUI Pro blog post, Don mentions that PowerGUI's script editor lacks the ability to resolve 'alias-to-cmdlet'. Luckily we don't have to wait for next releases of PowerGUI or submit feature requests to have that functionality available. Starting with the latest product release, PowerGUI 2.1, we now have the option to extend the Script Editor with our own solutions using the new Script Editor SDK! The Editor SDK allows us to create Add-Ons, add and remove menus and menu items, toolbar buttons, and a lot more. In this post I'm going to create...