Share via


Download and Install Powershell 7

Question

Sunday, October 20, 2019 2:28 PM

I used the following to install Powershell 7. The installation finished without error but using $PSVersionTable.PSVersion, the version is still 5 even after reboot. Please advise. Thanks

iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Preview"

All replies (2)

Sunday, October 20, 2019 2:38 PM âś…Answered

Hi,

When you install PowerShell 7 (preview) you will get a new PowerShell to open: "PowerShell 7-preview (x64)".

To use PowerShell 7, you'll need to run the PowerShell 7-preview (x64).

Best regards,
Leon

Blog: https://thesystemcenterblog.com LinkedIn:


Sunday, October 20, 2019 2:58 PM

Or on the command line:

pwsh-preview