Install latest PowerShell in Microsoft Windows

Check Current Version of Powershell and upgrade to latest Version

1.Check the Current Version of Powershell on your system.

PS C:\Users\admin> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  906

2. Go to the link to look for the latest version of PowerShell available.

3. Check the latest version available on this link.

4. Verify the latest version of Powershell.

5. Drag down the same page for download the latest version for different version of OS.

6. Start installation from MSI file.

8. Check the version after finish.

PowerShell 7.1.3
Copyright (c) Microsoft Corporation.

PS C:\Users\admin> $PSVersionTable.PSVersion

Major  Minor  Patch  PreReleaseLabel BuildLabel
-----  -----  -----  --------------- ----------
7      1      3