Skip to main content

Set-XdrConfigurationPreviewFeatures

SYNOPSIS

Sets the configuration for Defender XDR Preview features.

SYNTAX

Set-XdrConfigurationPreviewFeatures [[-EnableXdrAndMdi] <Boolean>] [[-EnableMde] <Boolean>]
[[-EnableMda] <Boolean>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Sets the configuration for Defender XDR Preview features. This function includes caching support with a 30-minute TTL to reduce API calls.

EXAMPLES

EXAMPLE 1

Set-XdrConfigurationPreviewFeatures
Sets the configuration for Defender XDR Preview features.

EXAMPLE 2

Set-XdrConfigurationPreviewFeatures -EnableXdrAndMdi $true
Enables preview features for Microsoft Defender XDR + Microsoft Defender for Identity.

EXAMPLE 3

Set-XdrConfigurationPreviewFeatures -EnableMde $false
Disables preview features for Microsoft Defender for Endpoint.

EXAMPLE 4

Set-XdrConfigurationPreviewFeatures -EnableMda $true
Enables preview features for Microsoft Defender for Cloud Apps.

EXAMPLE 5

Set-XdrConfigurationPreviewFeatures -EnableXdrAndMdi $true -WhatIf
Shows what would happen if preview features were enabled for XDR and MDI.

PARAMETERS

-EnableXdrAndMdi

Boolean to enable or disable preview features for Microsoft Defender XDR + Microsoft Defender for Identity.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-EnableMde

Boolean to enable or disable preview features for Microsoft Defender for Endpoint.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-EnableMda

Boolean to enable or disable preview features for Microsoft Defender for Cloud Apps.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet 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 creating each rule.

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

System.Collections.Specialized.OrderedDictionary

Returns the API response.

NOTES