Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
description: This article explains the ways of starting various versions of PowerShell.
ms.date: 03/04/2024
ms.date: 03/27/2025
title: Starting Windows PowerShell
---

# Starting Windows PowerShell

Windows PowerShell is a scripting engine that's embedded into multiple hosts. The most common hosts
you'll start are the interactive command-line `powershell.exe` and the Interactive Scripting
Environment `powershell_ise.exe`.
Windows PowerShell is a scripting engine embedded into multiple hosts. The most common hosts are the
interactive command-line `powershell.exe` and the Interactive Scripting Environment
`powershell_ise.exe`.

## PowerShell has renamed binary
## PowerShell binary name

PowerShell version 6 and higher uses .NET Core. Supported versions are available on Windows, macOS,
and Linux.
PowerShell version 6 and higher uses .NET (Core). Supported versions are available on Windows,
macOS, and Linux.

Beginning in PowerShell 6, the PowerShell binary was renamed `pwsh.exe` for Windows and `pwsh` for
macOS and Linux. You can start PowerShell preview versions using `pwsh-preview`. For more
information, see [About pwsh][04].
Beginning in PowerShell 6, the PowerShell binary named `pwsh.exe` for Windows and `pwsh` for macOS
and Linux. You can start PowerShell preview versions using `pwsh-preview`. For more information, see
[About pwsh][04].

To find cmdlet reference and installation documentation for PowerShell 7, use the following links:

Expand All @@ -30,20 +30,20 @@ To find cmdlet reference and installation documentation for PowerShell 7, use th

To view content for other PowerShell versions, see [How to use the PowerShell documentation][01].

### From the Start Menu
### Run from the Start Menu

- Open the **Start** menu, type **Windows PowerShell**, select **Windows PowerShell**, then select
**Open**.

### At the Command Prompt
### Run from the Command Prompt

In Windows Command shell, Windows PowerShell, or Windows PowerShell ISE, to start Windows
PowerShell, type: `PowerShell`.

You can also use the parameters of the `powershell.exe` program to customize the session. For more
information, see [about_PowerShell_exe][03].

### With Administrative privileges (Run as administrator)
### Run with administrative privileges

Open the **Start** menu, type **Windows PowerShell**, select **Windows PowerShell**, and then
select **Run as administrator**.
Expand All @@ -52,7 +52,7 @@ select **Run as administrator**.

Use any of the following methods to start Windows PowerShell ISE.

### From the Start Menu
### Run from the Start Menu

- Open the **Start** menu, type **ISE**, select **Windows PowerShell ISE**, then select **Open**.

Expand All @@ -61,23 +61,22 @@ Use any of the following methods to start Windows PowerShell ISE.
In Windows Command shell, Windows PowerShell, or Windows PowerShell ISE, to start Windows
PowerShell, type: `PowerShell_ISE`. In Windows PowerShell, you can use the alias `ise`.

### With Administrative privileges (Run as administrator)
### Run with administrative privileges

Click **Start**, type **ISE**, right-click **Windows PowerShell ISE**, and then click **Run as
Select **Start**, type **ISE**, right-click **Windows PowerShell ISE**, and then click **Run as
administrator**.

## Starting the 32-Bit Version of Windows PowerShell

When using a 64-bit computer, **Windows PowerShell (x86)**, a 32-bit version of Windows PowerShell
is installed in addition to the 64-bit version. When you run Windows PowerShell, the 64-bit version
runs by default.
64-bit versions of Windows include a 32-bit version of Windows PowerShell, **Windows PowerShell
(x86)**, in addition to the 64-bit version. The 64-bit version runs by default.

However, you might occasionally need to run **Windows PowerShell (x86)**, such as when you're using
a module that requires the 32-bit version or when you're connecting remotely to a 32-bit computer.

To start a 32-bit version of Windows PowerShell, use any of the following procedures.

- Click **Start**, type **Windows PowerShell**, select **Windows PowerShell (x86)**, then select
- Select **Start**, type **Windows PowerShell**, select **Windows PowerShell (x86)**, then select
**Open**.

<!-- link references -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: This topic describes the accessibility features of Windows PowerShell Integrated Scripting Environment (ISE) that you might find helpful.
ms.date: 12/19/2019
ms.date: 03/27/2025
ms.topic: ui-reference
title: Accessibility in Windows PowerShell ISE
---
Expand All @@ -10,14 +10,14 @@ title: Accessibility in Windows PowerShell ISE
This topic describes the accessibility features of Windows PowerShell Integrated Scripting
Environment (ISE) that you might find helpful.

- [How to change the size and location of the Console and Script Panes](#how-to-change-the-size-and-location-of-the-console-and-script-panes)
- [Keyboard shortcuts for editing text](#keyboard-shortcuts-for-editing-text)
- [Keyboard shortcuts for running scripts](#keyboard-shortcuts-for-running-scripts)
- [Keyboard shortcuts for customizing the view](#keyboard-shortcuts-for-customizing-the-view)
- [Keyboard shortcuts for debugging scripts](#keyboard-shortcuts-for-debugging-scripts)
- [Keyboard shortcuts for Windows PowerShell tabs](#keyboard-shortcuts-for-windows-powershell-tabs)
- [Keyboard shortcuts for starting and exiting](#keyboard-shortcuts-for-starting-and-exiting)
- [Breakpoint management with cmdlets](#breakpoint-management)
- [How to change the size and location of the Console and Script Panes][04]
- [Keyboard shortcuts for editing text][07]
- [Keyboard shortcuts for running scripts][08]
- [Keyboard shortcuts for customizing the view][05]
- [Keyboard shortcuts for debugging scripts][06]
- [Keyboard shortcuts for Windows PowerShell tabs][10]
- [Keyboard shortcuts for starting and exiting][09]
- [Breakpoint management with cmdlets][03]

Microsoft is committed to making its products and services easier for everyone to use. The following
topics provide information about the features, products, and services that make Windows PowerShell
Expand All @@ -29,7 +29,7 @@ make Windows PowerShell ISE more accessible for people with disabilities:
- Keyboard Shortcuts

- Syntax Coloring Table and the ability to modify several other color settings using the
[$psISE.Options](object-model/The-ISEOptions-Object.md) scripting object.
[$psISE.Options][13] scripting object.

- Text Size Change

Expand Down Expand Up @@ -175,12 +175,24 @@ You can use the following keyboard shortcuts to start the Windows PowerShell con
## Breakpoint Management

For the visually impaired, breakpoint information is available through the cmdlets for managing
breakpoints, such as
[Get-PSBreakpoint](/powershell/module/Microsoft.PowerShell.Utility/Get-PSBreakpoint) and
[Set-PSBreakpoint](/powershell/module/Microsoft.PowerShell.Utility/Set-PSBreakpoint). For more
information please see 'How to manage breakpoints' in
[How to Debug Scripts in the Windows PowerShell ISE](How-to-Debug-Scripts-in-Windows-PowerShell-ISE.md).
breakpoints, such as [Get-PSBreakpoint][01] and [Set-PSBreakpoint][02]. For more information please
see 'How to manage breakpoints' in [How to Debug Scripts in the Windows PowerShell ISE][11].

## See Also

[Introducing the Windows PowerShell ISE](Introducing-the-Windows-PowerShell-ISE.md)
[Introducing the Windows PowerShell ISE][12]

<!-- link references -->
[01]: /powershell/module/Microsoft.PowerShell.Utility/Get-PSBreakpoint
[02]: /powershell/module/Microsoft.PowerShell.Utility/Set-PSBreakpoint
[03]: #breakpoint-management
[04]: #how-to-change-the-size-and-location-of-the-console-and-script-panes
[05]: #keyboard-shortcuts-for-customizing-the-view
[06]: #keyboard-shortcuts-for-debugging-scripts
[07]: #keyboard-shortcuts-for-editing-text
[08]: #keyboard-shortcuts-for-running-scripts
[09]: #keyboard-shortcuts-for-starting-and-exiting
[10]: #keyboard-shortcuts-for-windows-powershell-tabs
[11]: How-to-Debug-Scripts-in-Windows-PowerShell-ISE.md
[12]: Introducing-the-Windows-PowerShell-ISE.md
[13]: object-model/The-ISEOptions-Object.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: This article is an overview of the features of the Windows PowerShell ISE
ms.custom: ISE-F1-page
ms.date: 05/04/2023
ms.date: 03/27/2025
ms.topic: ui-reference
title: Exploring the Windows PowerShell ISE
---
Expand All @@ -11,26 +11,25 @@ title: Exploring the Windows PowerShell ISE
You can use the Windows PowerShell Integrated Scripting Environment (ISE) to create, run, and debug
commands and scripts.

![Screenshot of the full ISE window.](media/exploring-the-windows-powershell-ise/full-ise-window.png)
![Screenshot of the full ISE window.][10]

The Windows PowerShell ISE consists of the menu bar, Windows PowerShell tabs,
the toolbar, script tabs, a Script Pane, a Console Pane, a status bar, a text-size slider and
context-sensitive Help.
The Windows PowerShell ISE consists of the menu bar, Windows PowerShell tabs, the toolbar, script
tabs, a Script Pane, a Console Pane, a status bar, a text-size slider and context-sensitive Help.

## Menu Bar

The menu bar contains the **File**, **Edit**, **View**, **Tools**, **Debug**, **Add-ons**, and
**Help** menus.

![Screenshot of the menu bar.](media/exploring-the-windows-powershell-ise/ise-menu-bar.png)
![Screenshot of the menu bar.][11]

The buttons on the menus allow you to perform tasks related to writing and running scripts and
running commands in the Windows PowerShell ISE. Additionally, an [add-on tool][11] may be placed on
the menu bar by running scripts that use the [The ISE Object Model Hierarchy][10].
running commands in the Windows PowerShell ISE. Additionally, an [add-on tool][17] may be placed on
the menu bar by running scripts that use the [The ISE Object Model Hierarchy][16].

## Toolbar

![Screenshot of the tool bar.](media/exploring-the-windows-powershell-ise/ise-tool-bar.png)
![Screenshot of the tool bar.][15]

The following buttons are located on the toolbar.

Expand Down Expand Up @@ -58,7 +57,7 @@ The following buttons are located on the toolbar.

## Windows PowerShell Tabs

![Screenshot of the Windows PowerShell tabs.](media/exploring-the-windows-powershell-ise/ise-powershell-tabs.png)
![Screenshot of the Windows PowerShell tabs.][13]

A Windows PowerShell tab is the environment in which a Windows PowerShell script runs. You can open
new Windows PowerShell tabs in the Windows PowerShell ISE to create separate environments on your
Expand All @@ -69,7 +68,7 @@ For more information, see [How to Create a PowerShell Tab in Windows PowerShell

## Script Tab

![Screenshot of the script tabs.](media/exploring-the-windows-powershell-ise/ise-script-tabs.png)
![Screenshot of the script tabs.][14]

Displays the name of the script you are editing. You can click a script tab to select the script you
want to edit.
Expand All @@ -78,7 +77,7 @@ When you point to the script tab, the fully qualified path to the script file ap

## Script Pane

![Screenshot of the panes and status bar.](media/exploring-the-windows-powershell-ise/ise-panes.png)
![Screenshot of the panes and status bar.][12]

Allows you to create and run scripts. You can open, edit and run existing scripts in the Script
Pane. For more information, see [How to Write and Run Scripts in the Windows PowerShell ISE][07].
Expand Down Expand Up @@ -108,7 +107,7 @@ Increases or decreases the size of the text on the screen.
Help for Windows PowerShell ISE is available on Microsoft Learn. You can open the Help by clicking
**Windows PowerShell ISE Help** on the **Help** menu or by pressing the <kbd>F1</kbd> key anywhere
except when the cursor is on a cmdlet name in either the Script Pane or the Console Pane. From the
**Help** menu you can also run the `Update-Help` cmdlet, and display the Command Window which
**Help** menu you can also run the `Update-Help` cmdlet, and display the Command Window, which
assists you in constructing commands by showing you all the parameters for a cmdlet and enabling you
to fill in the parameters in an easy-to-use form.

Expand All @@ -129,5 +128,11 @@ to fill in the parameters in an easy-to-use form.
[07]: How-to-Write-and-Run-Scripts-in-the-Windows-PowerShell-ISE.md
[08]: Introducing-the-Windows-PowerShell-ISE.md
[09]: Keyboard-Shortcuts-for-the-Windows-PowerShell-ISE.md
[10]: object-model/The-ISE-Object-Model-Hierarchy.md
[11]: object-model/The-ISEAddOnTool-Object.md
[10]: media/exploring-the-windows-powershell-ise/full-ise-window.png
[11]: media/exploring-the-windows-powershell-ise/ise-menu-bar.png
[12]: media/exploring-the-windows-powershell-ise/ise-panes.png
[13]: media/exploring-the-windows-powershell-ise/ise-powershell-tabs.png
[14]: media/exploring-the-windows-powershell-ise/ise-script-tabs.png
[15]: media/exploring-the-windows-powershell-ise/ise-tool-bar.png
[16]: object-model/The-ISE-Object-Model-Hierarchy.md
[17]: object-model/The-ISEAddOnTool-Object.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Tabs in the Windows PowerShell Integrated Scripting Environment (ISE) allow you to simultaneously create and use several execution environments within the same application. Each PowerShell tab corresponds to a separate execution environment or session.
ms.date: 10/07/2021
ms.date: 03/27/2025
ms.topic: ui-reference
title: How to Create a PowerShell Tab in Windows PowerShell ISE
---
Expand All @@ -12,21 +12,20 @@ create and use several execution environments within the same application. Each
corresponds to a separate execution environment or session.

> [!NOTE]
> Variables, functions, and aliases that you create in one tab do not carry over to another. They
> Variables, functions, and aliases that you create in one tab don't carry over to another. They
> are different Windows PowerShell sessions.

Use the following steps to open or close a tab in Windows PowerShell. To rename a tab, set the
[DisplayName](object-model/The-PowerShellTab-Object.md#displayname) property on the Windows
PowerShell Tab scripting object.
[DisplayName][04] property on the Windows PowerShell Tab scripting object.

## To create and use a new PowerShell Tab

On the **File** menu, click **New PowerShell Tab**. The new PowerShell tab always opens as the
active window. PowerShell tabs are incrementally numbered in the order that they are opened. Each
tab is associated with its own Windows PowerShell console window. You can have up to 32 PowerShell
tabs with their own session open at a time (this is limited to 8 on Windows PowerShell ISE 2.0.)
active window. PowerShell tabs are incrementally numbered in the order that they're opened. Each tab
is associated with its own Windows PowerShell console window. You can have up to 32 PowerShell tabs
with their own session open at a time (this is limited to 8 on Windows PowerShell ISE 2.0.)

Note that clicking the **New** or **Open** icons on the toolbar does not create a new tab with a
Note that clicking the **New** or **Open** icons on the toolbar doesn't create a new tab with a
separate session. Instead, those buttons open a new or existing script file on the currently active
tab with a session. You can have multiple script files open with each tab and session. The script
tabs for a session only appear below the session tabs when the associated session is active.
Expand All @@ -51,10 +50,15 @@ To close a tab, you can use any of the following techniques:
active tab to close the tab.

If you have unsaved files open in the PowerShell tab that you are closing, you are prompted to save
or discard them. For more information about how to save a script, see
[How to Save a Script](How-to-Write-and-Run-Scripts-in-the-Windows-PowerShell-ISE.md#how-to-save-a-script).
or discard them. For more information about how to save a script, see [How to Save a Script][02].

## See Also

- [Introducing the Windows PowerShell ISE](Introducing-the-Windows-PowerShell-ISE.md)
- [How to Use the Console Pane in the Windows PowerShell ISE](How-to-Use-the-Console-Pane-in-the-Windows-PowerShell-ISE.md)
- [Introducing the Windows PowerShell ISE][03]
- [How to Use the Console Pane in the Windows PowerShell ISE][01]

<!-- link references -->
[01]: How-to-Use-the-Console-Pane-in-the-Windows-PowerShell-ISE.md
[02]: How-to-Write-and-Run-Scripts-in-the-Windows-PowerShell-ISE.md#how-to-save-a-script
[03]: Introducing-the-Windows-PowerShell-ISE.md
[04]: object-model/The-PowerShellTab-Object.md#displayname
Loading