Update-WtIntuneApp
Update an app in Intune
Update the assignments and/or categories for an app in Intune.\r\n\r\nThis is an authenticated command, so call Connect-WtWinTuner before calling this command.
Syntax
Default parameter set (default)
Update-WtIntuneApp -AppId <String> [-Categories <String[]>] [-AvailableFor <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>] [-EnableAutoUpdate]
Parameter | Req. | Type | Description |
---|---|---|---|
-AppId | ✅ | String | Id of the app in 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 |
-EnableAutoUpdate | ❌ | Switch | Enable auto update for the app |
Examples
Example 1
Update the categories of an app and make it available for all users
Update-WtIntuneApp -AppId "1450c17d-aee5-4bef-acf9-9e0107d340f2" -UseDefaultCredentials -Categories "Productivity","Business" -AvailableFor "AllUsers" -EnableAutoUpdate