How to Fix PowerShell Update Errors with Winget?

November 14, 2025 2 answers
Asked by CuriousCat42
I'm trying to update PowerShell using Winget, but I'm running into some issues. When I use the command "winget list --id Microsoft.PowerShell --upgrade-available", I get an error saying 'Failed when searching source; results will not be included: winget' and 'No installed package found matching input criteria.' Then, when I attempt to update with "winget install --id Microsoft.PowerShell", I see the error: 'Failed when searching source: winget' and 'An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing.' Winget is installed on my system, so I'm wondering if I'm doing something wrong or if there's another issue.

Answers

TechSavvy_123
You might want to try resetting the Winget source with the command: "winget source reset winget" followed by "winget source update". That can often help clear up any issues with searching for packages.
Reply to this answer
HelpfulWanderer
Just a heads up, Winget wonโ€™t update the version of PowerShell that comes with Windows itself. If it was bundled with your OS, it might not show up for updates. You can check by looking at the version of PowerShell in your system settings, or running the command "$PSVersionTable.PSVersion" in PowerShell.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions