Skip to main content

Set-XdrEndpointDeviceRbacGroup

SYNOPSIS

Updates Defender for Endpoint device groups.

SYNTAX

Set-XdrEndpointDeviceRbacGroup [[-GroupObject] <Object>] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]

DESCRIPTION

Updates Defender for Endpoint device groups. This function includes caching support with a 30-minute TTL to reduce API calls.

EXAMPLES

EXAMPLE 1

Set-XdrEndpointDeviceRbacGroup
Updates Defender for Endpoint device groups.

EXAMPLE 2

Set-XdrEndpointDeviceRbacGroup -Body $customBody
Updates Defender for Endpoint device groups with a custom request body.

EXAMPLE 3

Set-XdrEndpointDeviceRbacGroup -Force
Forces a fresh retrieval, bypassing the cache.

PARAMETERS

-GroupObject

The GroupObject to send. If not provided, uses a default structure.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the command runs. The command is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts for confirmation before making changes.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

The ProgressAction parameter is a common parameter, not a cmdlet parameter. For more information, see about_CommonParameters.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Object

Returns the API response.

NOTES