Skip to main content

Deploy-WtMsStoreApp

Create an WinGetApp in Intune from a store package id. This is an authenticated command, so specify the parameters to authenticate.

Package ID

Deploy an app to Intune by specifying the package ID of the app in the Microsoft Store.

Deploy-WtMsStoreApp
Deploy-WtMsStoreApp [-PackageId] <String> <AuthenticationParameters> [-ProgressAction <ActionPreference>] [<CommonParameters>]
ParameterReq.SampleDescription
-PackageId9NZVDKPMR9RDThe ID of the app in the Microsoft store
<Authentication>The authentication parameters.

Search query

Deploy an app to Intune by searching for packages and pick the first one, uses carefully!

Deploy-WtMsStoreApp (search)
Deploy-WtMsStoreApp [-SearchQuery] <String> <AuthenticationParameters> [-ProgressAction <ActionPreference>] [<CommonParameters>]
ParameterReq.SampleDescription
-SearchQueryMozilla FireFoxSearch query for the store
<Authentication>The authentication parameters.

Outputs

The output of this command is a SearchQuery object. You can use this object to further manipulate the app in Intune. Or to save the ID for later use.