Winget-Powershell
Aus Alexander's Wiki
PS C:\dev> winget search Microsoft.PowerShell
Name Id Version Source
---------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.3.6.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.4 winget
PS C:\dev> winget install --id Microsoft.Powershell --source winget
Found PowerShell [Microsoft.PowerShell] Version 7.3.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.3.6/PowerShell-7.3.6-win-x64.msi
██████████████████████████████ 100 MB / 100 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\dev>