upgrade powershell

Rising Flight 5,216 Reputation points
2024-01-10T04:00:50.8766667+00:00

Hi All

I am using the below powershell version on Windows Server 2019. How do i upgrade the powershell to latest version. is winget supported on Windows Server 2019 please guide me with the syntax.

PS C:\WINDOWS\system32> $PSVersionTable.PSVersion

Major Minor Build Revision


5 1 17763 5122

Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-01-10T06:17:12.44+00:00

    Hi Rising Flight,

    The latest version of Windows PowerShell is 5.1. If you want to install PowerShell Core, you can download the latest version of MSI package which is currently 7.4 from GitHub.

    https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4

    https://github.com/PowerShell/PowerShell

    Winget is not currently supported on Windows Server 2019.

    https://github.com/microsoft/winget-cli

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.