How to install PowerShell 7¶
Last validated:
WHAT TO EXPECT
In this article, users will learn how to install PowerShell 7.
Check PowerShell version¶
Example:
PS C:\Users\Administrator> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 17763 4720
Download PowerShell 7¶
curl.exe -L -o PS7.msi https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi
Example:
PS C:\Users\Administrator> curl.exe -L -o PS7.msi https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 104M 100 104M 0 0 113M 0 --:--:-- --:--:-- --:--:-- 113M