Install PowerShell 7 with ISE Mode in Windows 2019 Server

< All Topics

Steps on how to install PowerShell 7 with ISE Mode in Windows 2019 Server

Download and install the MSI Package of PowerShell 7 x64 (Around 90MB)

Default installation folder is *C:\Program Files\PowerShell*

Open the New PowerShell 7 (x64) from start menu, and verify it is installed successfully with $PSVersionTable

PowerShell 7.0.0
Copyright (c) Microsoft Corporation. All rights reserved.
Type 'help' to get help.

PS C:\Users\administrator.LAB> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
WSManStackVersion              3.0

Download and install Visual Studio code

Install PowerShell 2020.3.0 Extension

Press F1 to activate the command plate and select PowerShell:Enabled ISE Mode

The Visual Studio Code is changed to the familiar ISE Environment

Refer to the link below for more information

Previous How to Get Latest CVE from MSRC with PowerShell
Next Manage Windows Firewall with PowerShell
Table of Contents