The top 5 things I like about PowerShell V3 ISE

Home > Blogs > PowerShell > The top 5 things I like about PowerShell V3 ISE

The top 5 things I like about PowerShell V3 ISE

Like This Blog 0 Jason Helmick
Added by February 3, 2012

(note-this article is based on PowerShell V3 CTP2)

Of all the new features in PowerShell that I have been looking forward too, this was not one of them. It’s not that I don’t like the ISE, its great for quick automation of a few one-liners, but when I want to build a cmdlet, I want something a little more robust. I have always been a huge PrimalScript (Sapien) from my old enterprise scripting days when I had VBS, Perl, Kixx, and etc. to deal with. I also really enjoy using PowerShell Plus (Idera).

I’ve always related the built-in ISE to notepad. Good for simple stuff. When I’m writing an article or book, then its MSWord or Scrivener. So, what could possible impress me with the ISE. Well…

5.The Editor Views

This might seem trivial, but the first thing I did was to set the new ISE in single pane mode. That’s the little buttons on the toolbar.
singlepane view PowerShell V3 CTP2You get a full screen editor, and when you hit Ctrl-R it flips to a full screen Console-like pane. (more about this dude later)

 

4. The Editor Color Options (Tool/Option)

This you have to see to believe. I was skeptical at first, but now I’m a
HUGE fan. Here is the normal script pane view.

NormalView PowerShell V3 CTP2

Select Tools/Options and you can change many cool settings to customize your preference. Here are my favorites:

• The color theme. (Under the tab Colors and Fonts – Dark)
• Outlining (Under the General Tab)
• Remove the toolbar (View)

Check out the difference.
PowrrShell color custom

 

3. IntelliSense? Yes

Need I say more?

2. Snippets

Yes I know other editors have this, but now so too does the ISE. Hit Ctrl-J and you get a list of snippets. My favorite is the Advanced Function-Complete. I don’t have to keep checking the help files for all the options and syntax.

Drum Roll please….AND NOW MY NUMBER ONE FAVORITE FEATURE!!!!

1. The New Console ISE – Now for super cool—Hit Ctrl-R

I spend most of my time in the regular PowerShell console. Unfortunately, there are things I hate that can’t be fixed. Wouldn’t it be nice to have IntelliSence at the command line? Would it be nice to copy/paste with Ctrl-C/Ctrl-V? Well get over it you can’t. See PowerShell runs inside this 30-year-old console. Modifying the original console code for new features would be like playing Jenga from the bottom row: It’s going to fall. So, the smart folks on the PowerShell Team decided to make their own Jenga. When you hit Ctrl-R or Ctrl-D it changes to the new console mode.
NEwConsole PowerShell V3 CTP2

The new console has syntax highlighting and IntelliSense. Seriously? Yes, Seriously.

I have been using the new ISE as my only PowerShell tool for the last month. I use it for both administration and toolmaking. I simply love it. For a free editor that’s installed on every computer running PowerShell, it’s damn good.

What about those other Editors? I still use PrimalScript and PowerShell Plus. They offer many features that I think would be wrong for the ISE. The ISE should be a fast loading tool for administration and quick toolmaking, but there will always be a time when a comprehensive editor is needed. For the run-of-the-mill daily stuff, try the new ISE, and certainly the new Console view.

Knowledge is PowerShell,
Jason Helmick
Director of PowerShell Technologies
Interface Technical Training

Videos You May Like

Creating Users and Managing Passwords in Microsoft Office 365

0 645 3

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Windows 10 Features and Navigation – December 1, 2015

0 114 1

In this recorded Windows 10 webinar from December 1,2015, Windows Instructor Steve Fullmer presents the navigation and some of the new features associated with Windows 10 including Sysinternals Tools for Windows Client, Windows core concepts, exploring Process Explorer as well as some of the features that are not yet ready for prime time but will … Continue reading Windows 10 Features and Navigation – December 1, 2015

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 608 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.