MSChart in Psh
Read Chad Miller’s blog entry on using MSChart from PowerShell. This is another great visualization extension for PowerShell. To make it work:
The easiest way to enable it is to import the library with a call to ‘Import-Module’. Now run one of the samples:
If you see this error or one like it it’s an easy fix. Edit the lib and edit the input param list in the function “New-Chart” from this:
To this:
Voila. Re-import the module and the error is gone. The only item on my wish list for this lib is that it attempt to infer the X and Y fields. A call like this, for example, should be able to (but can’t) infer that xField is ‘name’ and yField is ‘ws’:
It makes eye-candy. Check this one out. Grab the top 5 memory consuming processes and push them into a relative pie chart that auto-updates itself.

