how install PS 7.1 on windows server 2019 Core edition ?

Soheil Amiri 41 Reputation points

hello every body
how can i install power shell 7.1 on windows server 2019 core edition ?
i prefer a solution that help me to install this package from internet.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,351 questions
0 comments No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 29,476 Reputation points Microsoft Vendor


    You can get powershell 7.1 here


    The msi packages can be installed from the command line using msiexec.exe and the following options

    • ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL - This property controls the option for adding the Open PowerShell item to the context menu in Windows Explorer.
    • ENABLE_PSREMOTING - This property controls the option for enabling PowerShell remoting during installation.
    • REGISTER_MANIFEST - This property controls the option for registering the Windows Event Logging manifest.

    The following example shows how to silently install PowerShell with all the install options enabled.

    msiexec.exe /package PowerShell-7.0.3-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1  

    For more details you can refer to this link

    Best Regards,


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Soheil Amiri 41 Reputation points

    hi @Leon Laude
    thanks for your reply
    i install PS7.1 by this command

    iex "& { $(irm } -UseMSI"  

    it is installing without any error, how can i change my windows server 2019 core powershell version from 5.1 to 7.1.
    by default powershell 5.1 is running.