PowerGUI and PowerGadgets

PowerShell and PowerGUI are totally extensible and benefit from the rich PowerShell ecosystem growing around the technologies. Let’s have a look at how PowerGadgets can make PowerGUI UI even better.

1. I already had PowerShell and PowerGUI installed, and the only component I had missing was PowerGadgets so I went to http://www.powergadgets.com/ and downloaded the trial version.

2. Installation was pretty straight-forward (although my attenpt to install in my Exchange 2007 lab failed because the setup required internet connection – I assume to verify the license key.)

3. Started PowerGUI and went to File/Snapins – magically PowerGadgets were there in the list:

PowerGadgets snapin autodiscovered by PowerGUI

4. I selected the snapin and restarted PowerGUI.

Now that PowerGadgets are added to PowerGUI I decided to check whether I could use them in my actions.

5. I clicked the PowerGUI/Local System/Processes node and clicked the Actions button on the toolbar to open the right-hand Actions pane:

Processes list in PowerGUI

6. In the right-hand pane, in the Actions: Common group (I picked common actions so I could use the gadgets for everything – not just for processes), clicked Add new item/Action.

7. In the New Actions dialog box I typed in the name of the new action (Chart) and searched for the cmdlet by just typing chart in the Search box – it worked! and found the command I needed.

Add chart action

8. I double-clicked the Out-Chart entry to select it and clicked OK. The new action got added to the pane.

9. That was actually it! I clicked the newly added Chart action, clicked OK to accept all default parameters and got the chart:

PowerGadget chart in PowerGUI

That was it! No command-line, no tweeking, no complex setup or configuration – everything just worked.

10. I decided to push harder and see how well will PowerGadgets work with my changes in PowerGUI. I closed the chart, right-clicked the grid header and only left Handles and ProcessName selected:

Select process properties

11. Then I draged the ProcessName to be the first column and clicked the Handels header to sort by the column.

Sorted process list

12. Clicked the Chart action again and magic happened I got exactly what I expected – a chart with only Handles sorted by them in the same order as in PowerGUI:

Sorted PowerGadgets chart from PowerGUI

I still feel like what I saw was a kind of magic. I just installed two products from different teams and they simply worked with one another providing great UI experience on top of PowerShell.

Great job by PowerGadgets, PowerGUI and PowerShell teams.


6 Responses to “PowerGUI and PowerGadgets”

  1. 1 Eric Greer August 9, 2007 at 2:41 pm

    Really Awesome!!!

    However, when i select defaults after clicking ‘Chart’, nothing happens.

  2. 2 dmitrysotnikov August 11, 2007 at 5:25 am


    What exactly do you mean by “selecting defaults”? Can you give me exact repro steps?


  1. 1 pshell.info / PowerGUI and PowerGadgets Trackback on August 9, 2007 at 10:03 am
  2. 2 VMware demos PowerGUI/PowerGadgets integration, VI goes PowerShell « Dmitry’s PowerBlog: PowerShell and beyond Trackback on September 21, 2007 at 7:10 am
  3. 3 Introduction to PowerGadgets « blog.powershell.no Trackback on January 16, 2011 at 2:24 pm
  4. 4 Introduction to PowerGadgets - Jan Egil`s blog on Microsoft Infrastructure Trackback on January 16, 2011 at 2:26 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

My Recent Tweets


The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

April 2007
« Mar   May »

%d bloggers like this: