r/PowerShell • u/LoopyKeyboard • Nov 17 '25
Error when updating PowerShell
I was trying to see to see if I can update PowerShell when I got the error:
Failed when searching source; results will not be included: winget
No installed package found matching input criteria.I used the command: "winget list --id Microsoft.PowerShell --upgrade-available" to see if I could update it.
Trying to update it with: "winget install --id Microsoft.PowerShell", gives the error:
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missingWinget is installed, and I doing something wrong?
12
Upvotes
4
u/St0nywall Nov 17 '25
Also to note, winget won't update PowerShell that comes bundled with Windows OS.
2
u/lan-shark Nov 17 '25
Try running these and post the results
2
u/BlackV Nov 17 '25
Does not solve your winget problem, but you can download the msi directly from GitHub/Microsoft
Winget it's self is not powershell and that seems to be your issue
1
u/Signal-Top-3334 Jun 21 '26
A mí también me pasa y no puedo resolver este problema, lo he intentado todo. Pido ayuda porque no encuentro cómo solucionarlo.
1
u/SilentGaz Jul 08 '26
In case this is still an issue, try:
winget source reset --force
winget source update
winget install --id Microsoft.PowerShell --exact --source winget --installer-type wix --accept-package-agreements --accept-source-agreements
This has now worked for me
-1
u/Spass-Freddy-demon Nov 17 '25
Good evening ,
Asked "Copilot" to update PowerShell to the latest version 7.5.1, he will copy and paste a PowerShell script into PowerShell and that's it, PowerShell is up to date....
Copilot can generate a lot of script for your computer, boost it, check it, analyze all the PC etc... Even if you ask Copilot questions like "Copilot can you make a script to activate the functions of windows 11 build **********, it will give you a script for all activated" you can also ask to set your wifi or network card with each at the end of the question you ask it for a script.... You will be amazed at everything that Copilot can do for your PC, but ask him with the right questions and in detail about your PC problems, he can even look at your screen if you share a screen with him and also activate the microphone to tell him what you want to do etc.....
COPILOT has a name that is not insignificant, you are the driver of a rally car who directs you.....I'll let you guess....
Now if you use Copilot to adjust your PC I wish you a good night....I know what I'm causing all my PC has been adjusted, optimized etc.. by Copilot asked him everything for your you will have links for your download drivers software drivers etc....
Good night
-1
u/Spass-Freddy-demon Nov 17 '25
And when you have used Copilot to do what I told you, you will do it for everything....
Example you use a software or program that crashes or not, or just for a specific setting or use he will tell you how to do it etc.
You will see afterward you will no longer use the forums or ask for help, you will ask Copilot!
Same for your Android mobile ask for this, this has Gemini for your mobile, Gemini will do crazy things for you to set cleaned optimized etc... Your mobile!
Good night again 👍