The other day, I opened the Windows shell to check my Python installation, and I was greeted with this message:
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
So I decided to look into it.
In the end, it’s not hard to do . Open the shell, then issue
winget install --id Microsoft.Powershell.Preview --source winget
This downloads the latest version and runs the installer. Output is similar to the following:
Found PowerShell [Microsoft.PowerShell] Version 7.2.6.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi
██████████████████████████████ 102 MB / 102 MB
Successfully verified installer hash
Starting package install...
Successfully installed
References
{7910634:P3DVXYAX}
chicago-annotated-bibliography
default
asc
0
57