

This command downloads the PowerShell 7.3 MSI file from GitHub and then starts the installation via the MSI installer. To install or upgrade to the latest version of PowerShell Core, run the following command: You can upgrade PowerShell directly from the console. Msiexec.exe /package PowerShell-7.3.3-win-圆4.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 ADD_PATH=1 ENABLE_MU=1 ADD_PATH=1 ENABLE_MU – allow the PowerShell Core to be updated through Windows Updateįor example, the command for a silent installation might look something like this:.USE_MU – use the Microsoft Update to get PSCore updates.ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL.

To install PowerShell Core from an MSI package using SCCM/MDT/scripts in quiet mode, you can use a command with the following parameters: The following installation options are available: Use only stable or LTS releases for a production environment. At the time of writing, the most recent release of PowerShell is v7.3.3, dated 24 February 2023 (for example, PowerShell-7.3.3-win-圆4.msi or PowerShell-7.3.3-win-x86.msi). If you want to install PowerShell Core using the MSI package, go to the project page and download the installation package for your OS version. Upgrading the PowerShell Core Using MSI installation Next, using the example of updating PowerShell Core to 7.3 on Windows 10 22H2, we will look at all of these methods.
