Skip to main content

Set-XdrEndpointDeviceCriticalityLevel

SYNOPSIS

Sets the criticality level on endpoint devices in Microsoft Defender XDR.

SYNTAX

Set-XdrEndpointDeviceCriticalityLevel [-DeviceId] <String[]> [-CriticalityLevel] <String>
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Updates the criticality level for one or more endpoint devices. Criticality levels help prioritize security operations based on device importance.

EXAMPLES

EXAMPLE 1

Set-XdrEndpointDeviceCriticalityLevel -DeviceId "abc123" -CriticalityLevel High
Sets the criticality level to High on the specified device.

EXAMPLE 2

Set-XdrEndpointDeviceCriticalityLevel -DeviceId "abc123", "def456" -CriticalityLevel Medium
Sets the criticality level to Medium on multiple devices.

EXAMPLE 3

Set-XdrEndpointDeviceCriticalityLevel -DeviceId "abc123" -CriticalityLevel Reset
Removes the criticality level from the specified device.

PARAMETERS

-DeviceId

One or more device IDs (SenseMachineIds) identifying the target devices.

Type: String[]
Parameter Sets: (All)
Aliases: MachineId, SenseMachineId

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CriticalityLevel

The criticality level to assign. Valid values: VeryHigh, High, Medium, Low, Reset. Reset removes the criticality level from the device.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
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