You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Certain winget packages that are found by Get-WinGetPackage are not returned by Get-WinGetPackage -Id #6161
There seem to be certain installed winget packages that are correctly listed in the output of a simple Get-WinGetPackage command, but if I check for those same packages with a specifically targeted Get-WinGetPackage -Id 'The.Package.Id' command, it returns nothing.
First this gets all installed winget packages, then it tries to get each discovered package again by its exact ID, and outputs any packages that were found the first time but not the second. This should not be possible, so there should never be any output.
Actual behavior
Output on my machine:
Name Id Version Available Source
---- -- ------- --------- ------
PeaZip Giorgiotani.Peazip 10.5.0 11.0.0 winget
PowerShell Microsoft.PowerShell 7.5.5.0 winget
Environment
Windows Package Manager v1.28.220
Windows: Windows.Desktop v10.0.26200.8246
Package: Microsoft.DesktopAppInstaller v1.28.220.0
Strangely, I can't reproduce this on three other machines, so I'm not sure what's going on with the first machine.
Results also vary on the first machine, depending on the context in which the command is run.
Running it with my local admin account gives the results in my OP (whether elevated or not), but running in the SYSTEM context only outputs the PeaZip package and not the PowerShell package. Both packages are installed machine-wide.
I suppose it could just be something broken on that machine, or a weird edge-case, but I'm happy to investigate further if anyone has any suggestions for additional diagnostics to perform.
Activity
nogaff commentedon Apr 20, 2026
Strangely, I can't reproduce this on three other machines, so I'm not sure what's going on with the first machine.
Results also vary on the first machine, depending on the context in which the command is run.
Running it with my local admin account gives the results in my OP (whether elevated or not), but running in the SYSTEM context only outputs the PeaZip package and not the PowerShell package. Both packages are installed machine-wide.
I suppose it could just be something broken on that machine, or a weird edge-case, but I'm happy to investigate further if anyone has any suggestions for additional diagnostics to perform.