How to Install or Uninstall Windows PowerShell ISE in Windows 10


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

For more details about Windows PowerShell ISE, see:

Starting with Windows 10 build 19037.1, Windows PowerShell ISE is now a Feature on Demand (installed by default), and you will see it in the list in Optional Features Settings.

This tutorial will show you how to install or uninstall the Windows PowerShell ISE (Integrated Scripting Environment) app for all users in Windows 10.


Contents

  • Option One: Install or Uninstall Windows PowerShell ISE in Optional Features
  • Option Two: Install or Uninstall Windows PowerShell ISE in Command Prompt



EXAMPLE: Windows PowerShell ISE (Integrated Scripting Environment)
How to Install or Uninstall Windows PowerShell ISE in Windows 10-powershell_ise.png





OPTION ONE

Install or Uninstall Windows PowerShell ISE in Optional Features


1 Open Settings, and click/tap on the Apps icon.

2 Click/tap on Apps & features on the left side, and click/tap on the Optional features link on the right side. (see screenshot below)

How to Install or Uninstall Windows PowerShell ISE in Windows 10-poweshell_ise_in_optional_features-1.jpg

3 Do step 4 (install) or step 5 (uninstall) below for what you would like to do.


 4. To Install Windows PowerShell ISE

This is the default setting.

A) Click/tap on Add a feature. (see screenshot below)

How to Install or Uninstall Windows PowerShell ISE in Windows 10-poweshell_ise_in_optional_features-4.png

B) Scroll down, check Windows PowerShell Integrated Scripting Environment, click/tap on Install, and go to step 6 below. (see screenshot below)

How to Install or Uninstall Windows PowerShell ISE in Windows 10-poweshell_ise_in_optional_features-5.png


 5. To Uninstall Windows PowerShell ISE

A) Scroll down, click/tap on Windows PowerShell Integrated Scripting Environment under Installed features, click/tap on the Uninstall button, and go to step 6 below. (see screenshots below)

How to Install or Uninstall Windows PowerShell ISE in Windows 10-poweshell_ise_in_optional_features-2.png How to Install or Uninstall Windows PowerShell ISE in Windows 10-poweshell_ise_in_optional_features-3.png

6 You can now close Settings if you like.






OPTION TWO

Install or Uninstall Windows PowerShell ISE in Command Prompt


You must be signed in as an administrator to do this option.


1 Open an elevated command prompt.

2 Do step 3 (install) or step 4 (uninstall) below for what you would like to do.


 3. To Install Windows PowerShell ISE

This is the default setting.

A) Copy and paste the command below into the elevated command prompt, press Enter, and go to step 5 below. (see screenshot below)

DISM /Online /Add-Capability /CapabilityName:Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0

How to Install or Uninstall Windows PowerShell ISE in Windows 10-install_poweshell_ise_command.png


 4. To Uninstall Windows PowerShell ISE

A) Copy and paste the command below into the elevated command prompt, press Enter, and go to step 5 below. (see screenshot below)

DISM /Online /Remove-Capability /CapabilityName:Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0

How to Install or Uninstall Windows PowerShell ISE in Windows 10-uninstall_poweshell_ise_command.png

5 You can now close the elevated command prompt if you like.


That's it,
Shawn