POWERSHELL COMMAND
Set-XdrConfigurationPreviewFeatures
Sets the configuration for Defender XDR Preview features.
Sets the configuration for Defender XDR Preview features. This function includes caching support with a 30-minute TTL to reduce API calls.
Syntax
Set-XdrConfigurationPreviewFeatures [[-EnableXdrAndMdi] <bool>] [[-EnableMde] <bool>] [[-EnableMda] <bool>] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters
-EnableXdrAndMdi
| Property | Value |
|---|---|
| Type | Boolean |
| Required | No |
| Position | 1 |
| Pipeline input | No |
| Default | False |
Boolean to enable or disable preview features for Microsoft Defender XDR + Microsoft Defender for Identity.
-EnableMde
| Property | Value |
|---|---|
| Type | Boolean |
| Required | No |
| Position | 2 |
| Pipeline input | No |
| Default | False |
Boolean to enable or disable preview features for Microsoft Defender for Endpoint.
-EnableMda
| Property | Value |
|---|---|
| Type | Boolean |
| Required | No |
| Position | 3 |
| Pipeline input | No |
| Default | False |
Boolean to enable or disable preview features for Microsoft Defender for Cloud Apps.
-WhatIf
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | Not documented |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
-Confirm
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | Not documented |
Prompts for confirmation before creating each rule.
Examples
Set-XdrConfigurationPreviewFeatures
Sets the configuration for Defender XDR Preview features.
Set-XdrConfigurationPreviewFeatures -EnableXdrAndMdi $true
Enables preview features for Microsoft Defender XDR + Microsoft Defender for Identity.
Set-XdrConfigurationPreviewFeatures -EnableMde $false
Disables preview features for Microsoft Defender for Endpoint.
Set-XdrConfigurationPreviewFeatures -EnableMda $true
Enables preview features for Microsoft Defender for Cloud Apps.
Set-XdrConfigurationPreviewFeatures -EnableXdrAndMdi $true -WhatIf
Shows what would happen if preview features were enabled for XDR and MDI.
Output
Type: System.Collections.Specialized.OrderedDictionary
Returns the API response.