If you ever find yourself doing any Powershell work (maybe when using TFSDeployer for example) then you'll probably be editing .ps1 files in a text editor (I hope you're not still using notepad!!).  My personal tool of choice is Notepad++.

Unfortunately most notepad replacements still aren't aware of the syntax rules for .ps1 files and treat them like plain text.  But fret no more - you can now get powershell syntax highlighting in Notepad++.  Have a look at http://weblogs.asp.net/jgalloway/archive/2006/11/25/powershell-language-definitions-for-notepad.aspx and download the language definition.  It works a treat!

Here’s what it looks like in action:

clip_image002

Nice! Thanks Jon!

As a footnote Steven Nagy had the following to say in a recent conversation we had:

I had a nice play with PowerGui today and think I will keep both handy. PowerGui gives you intellisense and richer syntax highlighting than Notepad++

However you can open 5 ps1 files in NP++ in one click and they all open in ONE window, unlike PowerGui which creates a new instance with each file. Other than that, PowerGui owns. And it costs the same: $0.00