RSS All Posts

RSS PowerShell Posts

Tags

2142 Active Directory Administrativia Announcements Battlefield Blogging Cricket Deployment Deployment4 Get-PSUGUK Group Policy HowTo Linux MDT MDT 2010 Microsoft Deployment Toolkit MSDN Music Permissions Personal PowerGui Power Lines PowerShell PowerShell Groups PowerShell Support PowerShell Tools PowerShell V2 Presentations PSUGAU Quick Tips Scripting SDDL Security Tech Talk Ubuntu User Groups Virtualisation VMware Infrastructure Client WAIK Weekly Poll Windows 7 Windows Automation Installation Kit Windows Server 2003 Windows Server 2008 XML

Archives

Meta


« | Main | »

What do you code your PowerShell scripts in?

By Adam Bell | January 24, 2007

Having come from a VBScript background I have always been impressed by Sapien’s PrimalScript Profressional as an IDE. As I have been getting into PowerShell recently I checked out the new version (4.1) which has PS support. I thought perhaps it was time to break open the piggy bank and purchase myself a copy. Now don’t get me wrong, this is quite a spendy piece of software, which I’ve road tested heavily for VBS and loved. But how would it fair for PowerShell?

Well to be honest it was ok. It might have actually been quite good, but it had stiff competition: the PowerShell shell itself. I’ve found that PrimalScript just didn’t seem to have the same depth of intellisense as that provided by the shell. Since playing with PS I’ve found that the way I develop scripts has had a radical change. No longer do I hack some code blocks together in a script, and run it *fingers-crossed* to see if it works. Followed by wscript.echo statements to see where I’ve gone logically wrong.

No, now I hack happily away in the PS Shell with excellent intellisense support, and when I have my code block working nicely I cut and paste it out to a text editor. Now its always nice to have pretty colours and brace matching, so I’ve been using Flo’s notepad2 configured with the C# Scheme. I have to say I’ve been really happy with the combination though we’ll have to see how I go when I start trying to debug more complex code ;)

What IDE do you prefer for PS1? Any tips and tricks anyone would like to pass on?

Topics: PowerShell | 2 Comments »

2 Responses to “What do you code your PowerShell scripts in?”

  1. /\/\o\/\/ Says:
    January 24th, 2007 at 19:11

    I prefer PowerShell analyzer (also try the HTML export for your blog ) and Notepad

    see also the video : http://www.powershellanalyzer.com/demos

    Greetings /\/\o\/\/

  2. Lead, Follow, or Move » Blog Archive » SAPIEN’s PrimalScript 2007 Available Says:
    August 16th, 2007 at 09:34

    [...] still not convinced to move from my earlier assessment. [...]

Comments