How can I extract a list of IDs from winget upgrade? #2589
BluesBroBo
started this conversation in
PowerShell
Replies: 1 comment 2 replies
-
The problem you're seeing is due to the incomprehensive fact that winget is not actually a PowerShell command (that outputs structured PowerShell data objects) but rather a simple DOS executable that just outputs plain text - similar to There is a lot of existing discussion about this here: There hasn't been an update onthe matter in a while, but last we heard about it: retroactively bringing winget into the 21th century was progressing along and may have an initial release around winget v1.4 - v.1.5 ? |
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
-
I'm trying to make a powershell variable that contains the IDs of all software that has updates available.
However something seems to be wrong with the way winget outputs the Updates it finds. When I select-object the IDs I just get the Title Line and a bunch of empty lines.
Is there another way to do this?
Beta Was this translation helpful? Give feedback.
All reactions