Home
Installing latest PowerShell from PowerShell
Published: Tuesday, 19 May 2020 | Categories: PowerShell | Keywords: Upgrade | Status: Posted | Created: Tuesday, 19 May 2020 | Author: paul

Open up a PowerShell windows as Administrator. Run the following command:

Invoke-Expression "& { $(Invoke-Restmethod https://aka.ms/install-powershell.ps1) } -UseMSI -Preview"

An installation wizard will start when the msi has been downloaded. When it is complete there will be a new start menu item for the version of PowerShell installed (currently PowerShell 7 preview).


Add Comment
No Comments.