How to upgrade PowerShell on windows 11

Опубликовано: 20 Апрель 2026
на канале: Troubleshooting Steps
123
4

How to upgrade PowerShell 5.1 to 7.5.0.0

Here’s how to use winget to update PowerShell.

Launch a PowerShell or Command Prompt window.

Enter this command:
$PSVersion
winget search Microsoft.PowerShell
The command should return the latest version of PowerShell. If you're prompted to accept a terms-of-use agreement enter Y.

If a newer version of PowerShell is available, enter the command:
winget install --id Microsoft.PowerShell --source winget



   • Find Windows Install Date Using Command Pr...  
   • PowerShell script to get SSL certificate d...  
   • How to get hostname from IP using ping com...  
   • How to Reset Admin Password on MacBook (ma...