PowerShell Console and ISE

PowerShell offers two primary environments for writing and running commands: the PowerShell Console (also called the terminal) and the Integrated Scripting Environment (ISE). Understanding these two environments helps in choosing the right tool for the right task.

The PowerShell Console

The PowerShell Console is a text-based interface. Commands are typed at a prompt, and results appear immediately below. It works like a direct conversation with the operating system — type a command, get an answer.

Opening the PowerShell Console

  • Windows 10/11: Press Win + X → select Windows PowerShell or Terminal
  • Search: Open the Start menu → type PowerShell → press Enter
  • Run dialog: Press Win + R → type pwsh → press Enter (for PowerShell 7)
  • Administrator mode: Right-click PowerShell → select Run as Administrator

Parts of the PowerShell Console

+-----------------------------------------------------+
|  Windows PowerShell 7.4.0                           |
|                                                     |
|  PS C:\Users\Admin> _                               |
|       |             |                               |
|  Prefix  Location   Cursor (ready for input)        |
+-----------------------------------------------------+
  • PS – Indicates this is a PowerShell session
  • C:\Users\Admin – The current working directory (location)
  • > – The prompt symbol — PowerShell is waiting for input
  • _ – The blinking cursor where typing starts

Running a Command in the Console


# Type this and press Enter
Get-Date

Output:


Saturday, March 21, 2026 10:30:00 AM

Useful Console Shortcuts

ShortcutAction
TabAuto-complete command or file name
Up ArrowRecall previous command
Down ArrowMove forward through command history
Ctrl + CCancel the current running command
Ctrl + LClear the console screen
F7Show command history in a popup window
Ctrl + RSearch through command history

Clear the Console Screen


Clear-Host
# or shorthand
cls

The PowerShell ISE (Integrated Scripting Environment)

PowerShell ISE is a graphical editor built into Windows for writing, testing, and debugging PowerShell scripts. It provides a split-screen layout — a script editor on top and an interactive console at the bottom.

Note: PowerShell ISE is only available in Windows PowerShell 5.1. It does not support PowerShell 7. For PowerShell 7 scripting, Visual Studio Code is the recommended replacement.

Opening PowerShell ISE

  • Press Win + R → type powershell_ise → press Enter
  • Or open PowerShell and type: ise

Layout of PowerShell ISE

+--------------------------------------------------+
|  MENU BAR: File | Edit | View | Tools | Debug    |
+--------------------------------------------------+
|  SCRIPT PANEL (Editor)                           |
|  ------------------------------------------------|
|  # Write your script here                        |
|  Get-Process | Sort-Object CPU -Descending       |
|  Write-Host "Script complete"                    |
|                                                  |
+--------------------------------------------------+
|  CONSOLE PANEL (Interactive)                     |
|  ------------------------------------------------|
|  PS C:\Users\Admin> Get-Date                     |
|  Saturday, March 21, 2026 10:30:00 AM            |
|  PS C:\Users\Admin> _                            |
+--------------------------------------------------+
|  COMMAND ADD-ON PANEL (right side, optional)     |
+--------------------------------------------------+

Key Features of PowerShell ISE

  • Syntax highlighting – Commands, variables, and strings appear in different colors
  • IntelliSense – Auto-suggests cmdlets and parameters as typing occurs
  • Script debugging – Breakpoints can be set to pause execution at specific lines
  • Multi-tab editing – Multiple scripts open at the same time
  • Run Selection – Highlight specific lines and run only those (press F8)
  • Run Full Script – Press F5 to run the entire script

Running a Script in ISE

  1. Type the script in the Script Panel
  2. Press F5 to run the full script
  3. Or highlight lines and press F8 to run only the selected portion
  4. Output appears in the Console Panel below

# Script Panel - type this
$name = "eStudy247"
Write-Host "Hello from $name"

Console Panel Output:


Hello from eStudy247

PowerShell Console vs ISE vs VS Code

FeatureConsoleISEVS Code
Best forQuick commandsSimple scripts (PS 5.1)All scripts (PS 7)
PowerShell 7 supportYesNoYes
Syntax highlightingBasicYesYes (full)
DebuggerNoYesYes (advanced)
Auto-completeTab onlyIntelliSenseIntelliSense
ExtensionsNoLimitedHundreds available
Available onAll platformsWindows onlyAll platforms

Windows Terminal – The Modern Console

Windows Terminal is Microsoft's modern replacement for the old console. It supports multiple tabs, PowerShell 5.1, PowerShell 7, CMD, and WSL (Linux) all in one window.

Install Windows Terminal


winget install Microsoft.WindowsTerminal

Set PowerShell 7 as the Default in Windows Terminal

  1. Open Windows Terminal
  2. Click the dropdown arrow at the top → select Settings
  3. Under Startup, set the Default profile to PowerShell (version 7)
  4. Save and restart Windows Terminal

Get Help Inside the Console

PowerShell has a built-in help system. Use it to explore any cmdlet without leaving the console.


# Get help for any cmdlet
Get-Help Get-Process

# Get detailed help with examples
Get-Help Get-Process -Detailed

# Get only examples
Get-Help Get-Process -Examples

# Update help files from Microsoft
Update-Help

Summary

The PowerShell Console handles quick, interactive commands. PowerShell ISE provides a simple scripting editor for Windows PowerShell 5.1. Visual Studio Code with the PowerShell extension is the modern and recommended tool for PowerShell 7 scripting. Windows Terminal brings all environments together in one place with tab support. Knowing how to navigate these environments builds the foundation for writing and running scripts efficiently.

Leave a Comment