Skip to main content

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]
ParameterReq.TypeDescription
-AppIdStringId of the app in Intune
-CategoriesString[]Categories to add to the app
-AvailableForString[]Groups that the app should available for, Group Object ID or AllUsers / AllDevices
-RequiredForString[]Groups that the app is required for, Group Object ID or AllUsers / AllDevices
-UninstallForString[]Groups that the app should be uninstalled for, Group Object ID or AllUsers / AllDevices
-EnableAutoUpdateSwitchEnable 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 $true