Have a Question?
< All Topics
Print

Install PowerShell 7 with ISE Mode in Windows 2019 Server

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.

https://aka.ms/powershell
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
SerializationVersion           1.1.0.1
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

https://docs.microsoft.com/en-us/powershell/scripting/components/vscode/how-to-replicate-the-ise-experience-in-vscode?view=powershell-7

Table of Contents
Scroll to Top