Scott Hanselman

Using an IDE to write PowerShell Scripts

February 8, '08 Comments [10] Posted in PowerShell
Sponsored By

imageI was writing a PowerShell Script for the 2008 Window Scripting Games (are you in the games?) and I found writing a long complex script using only a text edit to be really tiring.

I blogged about a PowerShell IDE two years ago, but for whatever reason it didn't stick. I didn't start using it regularly and fell back to the command-line and notepad.

However, while I was writing scripts for the Games I got fed up with just the command-line. I went back to http://www.powershell.com and starting coding in the PowerShellPlus Editor. You can get it free. Schweet.

This IDE has come so far and it's a joy to use. It's got a debugger and intellisense and syntax highlighting. It's like SQL Analyzer, but for PowerShell. It's a great way to not only learn PowerShell but it's very powerful for advanced users. Seriously, go get it.

UPDATE with $50 off COUPON: From the comments: "So we have a special deal for loyal hanselman fans..For the next 2 weeks we will give $50 off our price of $129, giving you our PowerShell Suite for only $79.  However we've only set up the coupon code with google checkout, so you'll have to checkout through there. So basically add the item to your cart, and check out with Google checkout and use the coupon code: hanselman and you'll be on your way."

Related Posts

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Friday, February 08, 2008 9:11:46 PM UTC
Do you ever get tired of having a different editor for every kind of file you edit? Sometimes this drives me nuts and I think about becoming an Emacs monk, but then I conclude editors like the PowerShell IDE offer too much to give up on.
Friday, February 08, 2008 9:37:51 PM UTC
I went to the powershell.com and noticed that PowerShell+ is only free for non commerical use. At $129 for a commercial license, I still think it is a good value for those who do anything complicated with PowerShell.
Friday, February 08, 2008 9:52:07 PM UTC
John - If the fonts are the same, and F5 is the "do it" button, I don't notice.

Darren - Doh! Still...it's awesome. I'll pay one day...
Friday, February 08, 2008 11:03:09 PM UTC
Have you tried the PowerShell editor in PowerGUI (www.powergui.org)? Just wondering what you thought and how it compares to this one...

Oh and it's free as in doesn't matter how or where you use it, free... :)
Saturday, February 09, 2008 12:59:35 AM UTC
I've been a huge fan of PS+ for a while. PowerGUI compares pretty well well to the PS+ editor in terms of the editor itself, but that's where the comparisons end. PS+ is a full-featured console which happens to have a great editor. PowerGUI is primarily a GUI script repository which happens to have a very good editor. I find the two tools don't compete in the exact same space. Both are quite useful.

(Shameless plug, check out our PowerShell-only podcast at PowerScripting.net.)
Saturday, February 09, 2008 1:13:24 AM UTC
I'm glad you like it, i presume you've noticed a fair bit of improvement since our early NDA betas you were involved with. We are always open to more suggestions and feedback, of what works and what doesn't for people. One thing we are needing to improve is documentation and tutorials, and many of the most powerful features of our tools, only make sense when you know the why.
Sunday, February 10, 2008 11:15:30 PM UTC
Ah, You have Robin, I have Jack

See you at the Games

Greetings /\/\o\/\/
Monday, February 11, 2008 5:55:13 AM UTC
So we have a special deal for loyal hanselman fans..For the next 2 weeks we will give $50 off our price of $129, giving you our PowerShell Suite for only $79. However we've only set up the coupon code with google checkout, so you'll have to checkout through there. So basically add the item to your cart, and check out with Google checkout and use the coupon code: hanselman and you'll be on your way.

http://www.powershell.com/store
Tuesday, February 12, 2008 10:05:08 PM UTC
What an incredible tool. As a PowerShell noob, this IDE makes life much simpler. The learning curve just flattened a bit.

On a somewhat related note... Any idea if the Insert Code feature of dasBlog will support PowerShell scripts in the future?
Thursday, February 14, 2008 4:38:07 AM UTC

Scott,

Lately I don't see a lot of news around the Workflows - it looks like, their adoption is slowing down, so I'm continuig my quest to promote this technology into the masses ;-)

Thought to get your opinion on my recent post:

WF are not only for business (part 2): Marrying PowerShell into Workflows (Part 1 of 4)
( http://igorshare.wordpress.com/2008/02/13/wf-are-not-only-for-business-part-2-marrying-powershell-into-workflows-part-1-of-4/ )

Let me know what do you think.

Thanks a lot.
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.