0

I'm attempting to search using winget and return only the Name property. I've been unable to return it successfully.

This works and lists everything but I want to filter this to show just the name property

winget search "adobe"

I've next tried this

winget search "adobe" | Select Name

It returns several rows of null values. Winget search "adobe" | Select Name

Next I tried this and it simply returns errors "Property Name could not be found"

winget search "adobe" | Select-Object -ExpandProperty Name

Using ExpandProperty option

I've tried the Expand Property and Select with no luck in getting just the name.

cibb
  • 1
  • 1
  • `winget`, as an _external program_, outputs _text_, not _objects_, so you cannot select _properties_. The linked duplicate shows solutions. – mklement0 Feb 28 '23 at 00:20

0 Answers0