How to Install PowerShell 7.2.0-preview.5 on Windows?

The latest PowerShell release was released on 14 April. You can see the release note here.

Download

First, you have to go to GitHub to download the latest release: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.5/PowerShell-7.2.0-preview.5-win-x64.msi

Installation

When the installation is done, you should see a new shortcut in the windows menu

Click on the shortcut and run the following command:

$PSVersionTable

That’s all!

More information on the Microsoft website : https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7.1

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 279 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.