PowerShell can be updated directly from Windows Update without having to go through Github
Table of contents:
Little by little, Microsoft is making it easier to update both applications and tools and components. In some cases through the Application Store and in others, such as PowerShell, facilitating updating through Windows Update
PowerShell will be upgradeable following this method from version 7.2 Preview.5 to jump to 7.2 Preview.7. In this way, updating through Windows Update replaces the method we have been using up to now.
More accessible updates
When we start Windows for the first time, the PowerShell command console is already installed, but it is the most usual thing that we have to carry out an update process . In fact, PowerShell 5 is the default version of Windows 10.
Until now, to update PowerShell, we had to wait for the prompt in the command console to access an update available on GitHub. From this page, users were required to download and install the application.
Now, with PowerShell 7, this process is history, since you can access the latest updates directly from the Windows Update sectionin Settings, either with Windows Update for Business, WSUS, SCCM, or the WU interactive dialog in Settings."
To update PowerShell through Windows Update it is necessary that the computer uses at least Windows 10 RS3 (10.0.16299) or a later version, as well as PowerShell 7.2 (preview 5 or 6).
In addition, the computer must be configured to receive Microsoft product updates, which can be activated in the Receive updates section for other Microsoft products when you update Windows>" "
When the PowerShell upgrade is available, you can upgrade using the usual upgrade method in the path Start > Settings > Update & Security> Windows Updateand then tapping Check for updates."
Via | Bleeping Computer