How do you list available updates including pinned, like winget upgrade
?
#4376
o-l-a-v
started this conversation in
PowerShell
Replies: 2 comments 4 replies
-
@o-l-a-v , i don't know if this is relevant, but you can try this foreach ($line in $upgradables) { |
Beta Was this translation helpful? Give feedback.
2 replies
-
What version of the PowerShell module are you using? Here is my list of pins:
And the same command that isn't working for you, is working for me, and is showing pinned packages that have upgrades:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Related to #4375.
How do you even list available updates with
Microsoft.WinGet.Client
? Including pinned?Here's the available cmdlets in v1.7.10861:
Before posting I found this:
That does not seem like a complete solution. For instance, you can't do
--include-pinned
or--include-unknown
, likewinget upgrade
. Withwinget upgrade --include-pinned
I get:With
Get-WinGetPackage -Source 'WinGet' | Where-Object -Property 'IsUpdateAvailable'
I get nothing.Get-WinGetPackage -Source 'WinGet' -Id 'Discord.Discord'
does not list a newer available version, likewinget upgrade --include-pinned
does.Beta Was this translation helpful? Give feedback.
All reactions