Thursday, November 6, 2008

Like VIM? Like PowerShell? This link's for you!

Vim is a text editor that is popular with *nix users, but it works just fine on Windows, too.  

I subscribe to Andy Schneider's Get-PowerShell blog, and today he had an entry about a new extension for Vim that does your syntax highlighting, etc, for PowerShell.  I recommend checking out the Get-PowerShell blog, but if you just want the file, follow the link from Peter Provost's blog.

Tuesday, November 4, 2008

Did I Mention PrimalForms is free?

Here's that link again.

Oh, and for some reason this post shows up under the Google search , but click here if you want a PrimalForms example.

Windows Forms with PowerShell

SAPIEN came out with an awesome form builder for PowerShell called PrimalForms.  I decided to give it a whirl.  It really makes short work of making a native Windows GUI.  For my first project I made a quick and dirty app that allows me to get disk fragmentation data for a remote server using the DefragAnalysis method of Win32_Volume.  I used the PrimalForms GUI to create my form, and then I only had to fill in the button1 click handler and the form load handler, add a small function for printing to the text box, and voila!