Forum Discussion
Good afternoon I need help to download Windows powershell
- Dec 29, 2021
The Stable version link is the starting point, (https://github.com/PowerShell/PowerShell) you could use that as the first installation if it's not already in the OS version. Personally I use the winget method https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2#install-powershell-using-winget
But.. Since PowerShell 7.2 it automatically updates itself using Windows Update
Support for Microsoft Update in PowerShell 7.2
PowerShell 7.2 has support for Microsoft Update. When you enable this feature, you'll get the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether that's with Windows Update for Business, WSUS, SCCM, or the interactive MU dialog in Settings.
The PowerShell 7.2 MSI package includes following command-line options:
- USE_MU - This property has two possible values:
- 1 (default) - Opts into updating through Microsoft Update, WSUS, or SCCM
- 0 - Do not opt into updating through Microsoft Update, WSUS, or SCCM
- ENABLE_MU
- 1 (default) - Opts into using Microsoft Update for Automatic Updates
- 0 - Do not opt into using Microsoft Update
- USE_MU - This property has two possible values:
The Stable version link is the starting point, (https://github.com/PowerShell/PowerShell) you could use that as the first installation if it's not already in the OS version. Personally I use the winget method https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2#install-powershell-using-winget
But.. Since PowerShell 7.2 it automatically updates itself using Windows Update
Support for Microsoft Update in PowerShell 7.2
PowerShell 7.2 has support for Microsoft Update. When you enable this feature, you'll get the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether that's with Windows Update for Business, WSUS, SCCM, or the interactive MU dialog in Settings.
The PowerShell 7.2 MSI package includes following command-line options:
- USE_MU - This property has two possible values:
- 1 (default) - Opts into updating through Microsoft Update, WSUS, or SCCM
- 0 - Do not opt into updating through Microsoft Update, WSUS, or SCCM
- ENABLE_MU
- 1 (default) - Opts into using Microsoft Update for Automatic Updates
- 0 - Do not opt into using Microsoft Update