PowerShell 7 is the successor to PowerShell 5.1. It’s quick, dependable and it’s cross-platform. For sure, PowerShell 7 is the longer term. You possibly can set up PowerShell 7 on Home windows, Linux and MacOs. On this weblog put up I present you 5 methods to put in PowerShell 7 on home windows computer systems.
GitHub is a developer platform. Simply seek for PowerShell and you’re going to get the obtain hyperlink.
2. Microsoft Docs | Microsoft Be taught
Second choice is through Microsoft Docs.
3. winget on Home windows 11
In all probability probably the most enticing and coolest choice is to do and not using a internet browser. Simply use winget on Home windows 11.
winget search PowerShell --accept-source-agreements winget set up Microsoft.PowerShell --accept-source-agreements --accept-package-agreements
Begin-BitsTranser is a cmdlet which can be utilized to obtain recordsdata. It makes use of the background clever switch service to handle downloads. The next code downloads PowerShell 7 (be careful the PowerShell model!) and installs it.
Begin-BitsTransfer ` -Supply https://github.com/PowerShell/PowerShell/releases/obtain/v7.2.5/PowerShell-7.2.5-win-x64.msi ` -Vacation spot (Be part of-Path -Path $house -ChildPath Downloads) MsiExec.exe /i (Be part of-Path -Path $house -ChildPath DownloadsPowerShell-7.2.5-win-x64.msi) /qn
5. PSReleaseTools Module
Final however not least, simply use is the Launch Instruments module. Hit the keys and enter the traces beneath to put in PowerShell 7.
Set up-Module PSReleaseTools Set up-PSPreview