POWERSHELL COMMAND
Set-XdrEndpointDeviceRbacGroup
Updates Defender for Endpoint device groups.
Updates Defender for Endpoint device groups. This function includes caching support with a 30-minute TTL to reduce API calls.
Syntax
Set-XdrEndpointDeviceRbacGroup [[-GroupObject] <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters
-GroupObject
| Property | Value |
|---|---|
| Type | Object |
| Required | No |
| Position | 1 |
| Pipeline input | No |
| Default | Not documented |
The GroupObject to send. If not provided, uses a default structure.
-WhatIf
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | Not documented |
Shows what would happen if the command runs. The command is not run.
-Confirm
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | Not documented |
Prompts for confirmation before making changes.
Examples
Set-XdrEndpointDeviceRbacGroup
Updates Defender for Endpoint device groups.
Set-XdrEndpointDeviceRbacGroup -Body $customBody
Updates Defender for Endpoint device groups with a custom request body.
Set-XdrEndpointDeviceRbacGroup -Force
Forces a fresh retrieval, bypassing the cache.
Output
Type: Object
Returns the API response.