Set-XdrEndpointDeviceAssetValue
SYNOPSIS
Sets the asset value on endpoint devices in Microsoft Defender XDR.
SYNTAX
Set-XdrEndpointDeviceAssetValue [-DeviceId] <String[]> [-AssetValue] <String>
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Updates the asset value classification for one or more endpoint devices. Valid asset values are Low, Normal, and High.
EXAMPLES
EXAMPLE 1
Set-XdrEndpointDeviceAssetValue -DeviceId "abc123" -AssetValue High
Sets the asset value to High on the specified device.
EXAMPLE 2
Set-XdrEndpointDeviceAssetValue -DeviceId "abc123", "def456" -AssetValue Low
Sets the asset value to Low on multiple devices.
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
-AssetValue
The asset value to assign. Valid values: Low, Normal, High.
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.