IT

Tag: powershell

  • How to update Windows PowerShell using WinGet.

    Step 1: Check the current version.

    Open Microsoft PowerShell and use the $PSVersionTable.PSVersion command to specify what version we are using.

    Step 2: Looking for a newer version PowerShell using WinGet.

    Find the latest version of PowerShell using the Windows WinGet Package Manager by typing the command winget search Microsoft.PowerShell

    Step 3: installing a newer version PowerShell using WinGet.

    Enter the command winget install --id Microsoft.PowerShell --source winget and after confirmation the installation will start:

    During installation, a window may pop up telling you to make changes to your computer and an installer window:

    After a successful installation, we will receive confirmation feedback from WinGet:

    Since PowerShell version 7 it installs separately, from now it is visible as a separate app in the start menu:

    After launch, we should also see the version of PowerShell in use: