- Latest stable version:
1
Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-powershell.ps1') }"
- Latest Preview version
1
Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-powershell.ps1') } -UseMSI -Preview"
Updating PowerShell to the latest or Preview release via REST method
This post is licensed under CC BY 4.0 by the author.
Comments powered by Disqus.