winget – How To Select The Right Application If Multiple Selections Are Available?

Following up my getting started post about the new Windows Package Manager, winget I almost struggled during one of my first installation attempts.

Installing PowerToys was easy, but I almost was forced to stop when I tried to install PowerShell using winget. Why? I will tell you..

My first action was to query the package listing using the search parameter. winget lists four application (as of today) containing PowerShell either in the name or in some magic tags.

And now, the show began. I planned to go for PowerShell v 7.0.1 and first tried the command

winget install PowerShell

followed by a

winget install Microsoft.PowerShell

hmmm.. this did not work out because winget could not catch my required application. So I had a look at the documentation which added some more parameters to try.

None of the additional parameters for the install command did help.

My last – and successful – try was to use the parameter -e (for exact)!


  • surround your search phrase with quotation marks – this did the trick for me!
  • the search string is case-sensitive!
winget install -e "Microsoft.PowerShell"

Happy winget-ing! Enjoy the packages installing.. 🙂

About wolfgang

Data Platform enthusiast
This entry was posted in Tips, Tools. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s