POWERSHELL COMMAND
Get-XdrConfigurationAssetRuleManagement
Retrieves asset rule management configuration from Microsoft Defender XDR.
Gets the asset rule management configuration from the Microsoft Defender XDR portal, including device tagging rules, conditions, and actions. This function includes caching support with a 30-minute TTL to reduce API calls.
Syntax
Get-XdrConfigurationAssetRuleManagement [-Force] [<CommonParameters>]
Parameters
-Force
| Property | Value |
|---|---|
| Type | SwitchParameter |
| Required | No |
| Position | named |
| Pipeline input | No |
| Default | False |
Bypasses the cache and forces a fresh retrieval from the API.
Examples
Get-XdrConfigurationAssetRuleManagement
Retrieves the asset rule management configuration using cached data if available.
Get-XdrConfigurationAssetRuleManagement -Force
Forces a fresh retrieval of the asset rule management configuration, bypassing the cache.
Output
Type: Array
Returns the rules array containing asset rule management configuration.