Level 1
0 / 100 XP

The ISE (Intelligent Scripting Environment) Part 2

**Welcome to an Overview of the ISE Part 2 **

Now let’s jump over and finish up with the setup options. Open the PowerShell ISE as Administrator. Click Tools, then click options. We’ll cover most of these options If you need more detail refer to this documentation.

Colors and Fonts:

Here you can experiment with the foreground and background colors for the script pane or the console pane. Go ahead and click background.

And if you really mess up your color’s, you can come down here and click Restore Defaults.

**Normally **I leave the colors set to the defaults.

Font Family:

Normally I set this to Lucida Console and the font size 14 or 16

Ok let’s go ahead and open a simple script, and go back to tools, options, general settings.

Script Pane Behavior

  • Show outlining in the Script Pane – What that means is, if I click this minus button, I can collapse that code to make long script easier to read.
  • Show line numbers in the script pane – This enables us to toggle these line numbers on or off.
  • Warn me when I edit duplicate files – If you open the same script in two ISE tabs the program will warn you.
  • Prompt to save scripts before running them – Allows you to make changes to a script that you have not saved. You will be prompted to save the script before running it. Let’s go ahead and clear off our screen.

Intellisense

If you thought TAB completion was cool in the text based console, wait until we checkout Intellisense.

  • Show Intellisense in the Console Pane – This setting turns on Intellisense in the console pane.
  • Enter selects Intellisense items in the Console Pane - If enabled, when intellisense pops up with a help list, pressing Enter on a selected item will copy that command to the current cursor position.

**Let me show you what I mean. Go ahead and type get-ser, there Intellisense pops up, now if…