Install-Software "PowerShell"
Install the latest version of "PowerShell" on Windows.
Introduction
Install PowerShell 7 on windows OS.
Prerequisites
- ✓ Install WinGet
- ✓ Verified environment is here
Installation
Introducing the installation method using the package management tool “WinGet .”
Launch Command Prompt or PowerShell with administrator privileges:
- START MENU → type
cmd
orpowershell
- Click “Run as administrator”
Check the latest version:
winget search Microsoft.PowerShell --exact
Name ID Version Source
----------------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.5.0.0 winget
PowerShell Preview Microsoft.Power Shell.Preview 7.6.0.2 winget
Install PowerShell by specifying the confirmed ID
and Source
as follows:
winget install --id Microsoft.PowerShell --source winget --exact
Verification
Open the start menu and type pwsh
to launch PowerShell 7.
- START MENU → type
pwsh
→ Enter

Terms
- WinGet
-
A command-line package management tool that operates on the Windows OS. The main tasks of a package management tool include installing software, updating software, and resolving dependencies. The same can be achieved by accessing the software’s distribution site and downloading it.
- PowerShell
-
A software called a command-line shell that operates the computer with strings. The PowerShell to be installed this time is PowerShell Version 7.x. The one that comes pre-installed with Windows OS (Windows 10 and later) is PowerShell Version 5.x.