Export (0) Print
Expand All
43 out of 75 rated this helpful - Rate this topic

Introducing the Windows PowerShell ISE

Updated: October 17, 2013

Applies To: Windows PowerShell 2.0, Windows PowerShell 3.0, Windows PowerShell 4.0

 The Windows PowerShell Integrated Scripting Environment (ISE) is a host application for Windows PowerShell. In Windows PowerShell ISE, you can run commands and write, test, and debug scripts in a single Windows-based graphic user interface with multiline editing, tab completion, syntax coloring, selective execution, context-sensitive help, and support for right-to-left languages. You can use menu items and keyboard shortcuts to perform many of the same tasks that you would perform in the Windows PowerShell console.  For example, when you debug a script in the Windows PowerShell ISE, to set a line breakpoint in a script, right-click the line of code, and then click Toggle Breakpoint.  

Try these features in Windows PowerShell ISE.

  • Multiline editing: To insert a blank line under the current line in the Command pane, press SHIFT+ENTER.

  • Selective execution: To run part of a script, select the text you want to run, and then click the Run Script button. Or, press F5.

  • Context-sensitive help: Type Invoke-Item, and then press F1. The Help file opens to the Help topic for the Invoke-Item cmdlet.

The Windows PowerShell ISE lets you customize some aspects of its appearance. It also has its own Windows PowerShell profile, where you can store functions, aliases, variables, and commands you use in the Windows PowerShell ISE.

To start the Windows PowerShell ISE

  1. Do one of the following:

    • Click Start, point to All Programs, point to Windows PowerShell V2, and then click Windows PowerShell ISE.

    • In the Windows PowerShell console Cmd.exe, or in the Run box, type, powershell_ise.exe.

To get Help in the Windows PowerShell ISE

  • On the Help menu, click Windows PowerShell Help. Or, press F1. The file that opens describes Windows PowerShell ISE and Windows PowerShell, including all of the help available from the Get-Help cmdlet.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.