POWERSHELL COMMAND
Get-XdrDatalakeTableSchema
Retrieves database entities schema from Microsoft Defender XDR datalake.
Gets the database entities schema from the Microsoft Defender XDR datalake using a Kusto query. This function includes caching support with a 30-minute TTL to reduce API calls.
Syntax
Get-XdrDatalakeTableSchema [-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-XdrDatalakeTableSchema
Retrieves the database entities schema using cached data if available.
Get-XdrDatalakeTableSchema -Force
Forces a fresh retrieval of the database entities schema, bypassing the cache.
Output
Type: Object
Returns the database entities schema from the datalake.