Update-WtIntuneApp
Update an application details in Intune. This is an authenticated command, so specify the parameters to authenticate.
Parameters
Update-WtIntuneApp (basic)
Update-WtIntuneApp -AppId <string>
[-AvailableFor <String[]>] [-Categories <String[]>] [-RequiredFor <String[]>] [-UninstallFor <String[]>]
[-EnableAutoUpdate <Boolean>] <AuthenticationParameters> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Parameter | Req. | Sample | Description |
---|---|---|---|
-AppId | ✅ | "1aec0c33-34f4-4d8b-a025-65c90a229bc2" | Win32LobApp object. |
-AvailableFor | "1aec0c33-34f4-4d8b-a025-65c90a229bc2" | The list of groups that the app is available for (see assignments). | |
-RequiredFor | "1aec0c33-34f4-4d8b-a025-65c90a229bc2" | The list of groups that the app is required for (see assignments). | |
-UninstallFor | "1aec0c33-34f4-4d8b-a025-65c90a229bc2" | The list of groups that the app is uninstalled for (see assignments). | |
-Categories | "Productivity" | List of categories this app should be in. | |
-EnableAutoUpdate | $true | Enable auto update if this app is assigned as available | |
<Authentication> | ✅ | The authentication parameters. |
Assignments
The AvailableFor
, RequiredFor
and UninstallFor
parameters require the group IDs, or you can use AllDevices
or AllUsers
to target all devices or users.
Examples
Update-WtIntuneApp assign to a group and add to a category
Update-WtIntuneApp -AppId "1aec0c33-34f4-4d8b-a025-65c90a229bc2" -Categories "Productivity" -AvailableFor "1aec0c33-34f4-4d8b-a025-65c90a229bc2" -EnableAutoUpdate $true -Username "myuser@test.com"
Update-WtIntuneApp assign to all users
Update-WtIntuneApp -AppId "1aec0c33-34f4-4d8b-a025-65c90a229bc2" -AvailableFor "AllUsers" -EnableAutoUpdate $true -Username "myuser@test.com"