Skip to main content

Search-WtWinGetPackage

Search for a package in the WinGet repository.

This uses the WinGet package index for maximum performance. And is thus the fastest way to search for packages.

Search for fire
Search-WtWinGetPackage "fire"

Demo Search-WtWinGetPackage

Package ID

Search for a package in the WinGet repository, by part of the package ID.

Deploy-WtMsStoreApp
Search-WtWinGetPackage  [-PackageId] <String>
ParameterReq.SampleDescription
-PackageIdfirePart of the package ID (2 characters minimum)

Outputs

The output of this command is a WingetEntry array. This array contains all the packages that match the search query.

  • PackageId - The ID of the package in the WinGet repository.
  • Version - The latest version of the package.