How to get icons of apps that could be browsed on Microsoft Store?

Deok Jong Moon 120 Reputation points

Hi there,

Basically, I'm currently trying to show people what kind of apps are available to install through a Powershell command winget search {appName} when people type a search keyword in a certain form. However, there's an obstacle, which is, I can get list of apps in text, for example, if I type "tiktok", then it would show me its id, source and version, but I'd like to get icons of those apps on the list as well.

So, to put it simply, is there a way I could retrieve icons of apps I search on winget programmatically?

Thanks in advance.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,937 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,852 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful