Our great sponsors
-
winget-cli
WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
# via msi $repo = 'PowerShell/PowerShell' $url = "https://api.github.com/repos/$repo/releases/latest" $ass = (Invoke-RestMethod $url).assets_url $all = (Invoke-RestMethod $ass).browser_download_url $msi = $all | where {$_ -like '*win-x64.msi'} $cmd = "/package $msi /quiet REGISTER_MANIFEST=1" # ENABLE_PSREMOTING=1 Start-Process msiexec.exe -Wait -ArgumentList $cmd # for ex. $msi = 'https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x64.msi' # via choco choco install powershell-core # via windows store # you don't need to do anything, the store updates PS automatically once the new version is published # via vscode # just open vscode, once the terminal opens up it will prompt you to install new version
Link: https://github.com/microsoft/winget-cli/releases/latest