Deploy-WtMsStoreApp
Create a MsStore app in Intune
Use this command to create an Microsoft Store app in Microsoft Intune.\r\n\r\nThis is an authenticated command, so call Connect-WtWinTuner before calling this command.
Syntax
PackageId (default)
Deploy an app to Intune by specifying the package ID of the app in the Microsoft Store.
Deploy-WtMsStoreApp -PackageId <String> [-Categories <String[]>] [-AvailableFor <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>]
Parameter | Req. | Type | Description |
---|---|---|---|
-PackageId | ✅ | String | The package id to upload to Intune. |
-Categories | ❌ | String[] | Categories to add to the app |
-AvailableFor | ❌ | String[] | Groups that the app should available for, Group Object ID or AllUsers / AllDevices |
-RequiredFor | ❌ | String[] | Groups that the app is required for, Group Object ID or AllUsers / AllDevices |
-UninstallFor | ❌ | String[] | Groups that the app should be uninstalled for, Group Object ID or AllUsers / AllDevices |
SearchQuery
Deploy an app to Intune by searching for packages and pick the first one, use carefully!
Deploy-WtMsStoreApp -SearchQuery <String> [-Categories <String[]>] [-AvailableFor <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>]
Parameter | Req. | Type | Description |
---|---|---|---|
-SearchQuery | ✅ | String | Name of the app to look for, first match will be created. |
-Categories | ❌ | String[] | Categories to add to the app |
-AvailableFor | ❌ | String[] | Groups that the app should available for, Group Object ID or AllUsers / AllDevices |
-RequiredFor | ❌ | String[] | Groups that the app is required for, Group Object ID or AllUsers / AllDevices |
-UninstallFor | ❌ | String[] | Groups that the app should be uninstalled for, Group Object ID or AllUsers / AllDevices |
Examples
Add Firefox to Intune
Add Firefox to Intune and make available for AllUsers
Deploy-WtMsStoreApp -PackageId "9NZVDKPMR9RD" -AvailableFor AllUsers