← All XDRInternals commands

POWERSHELL COMMAND

Get-XdrAdvancedHuntingTableSchema

Retrieves the Advanced Hunting table schema from Microsoft Defender XDR.

View source ↗

Gets the schema for Advanced Hunting tables from the Microsoft Defender XDR portal. This function includes caching support with a 30-minute TTL to reduce API calls.

Syntax

Get-XdrAdvancedHuntingTableSchema [-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-XdrAdvancedHuntingTableSchema
Retrieves the Advanced Hunting table schema using cached data if available.
Get-XdrAdvancedHuntingTableSchema -Force
Forces a fresh retrieval of the Advanced Hunting table schema, bypassing the cache.

Output

Type: Object

Returns the Advanced Hunting table schema from the hunting service.

View source