← All XDRInternals commands

POWERSHELL COMMAND

Get-XdrEndpointConfigurationPurviewSharing

Retrieves the Purview alert sharing configuration for Microsoft Defender for Endpoint.

View source ↗

Gets the Purview alert sharing status and configuration from the Microsoft Defender XDR portal. This function includes caching support with a 30-minute TTL to reduce API calls.

Syntax

Get-XdrEndpointConfigurationPurviewSharing [-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-XdrEndpointConfigurationPurviewSharing
Retrieves the Purview sharing configuration using cached data if available.
Get-XdrEndpointConfigurationPurviewSharing -Force
Forces a fresh retrieval of the Purview sharing configuration, bypassing the cache.

Output

Type: Object

Returns the API response.

View source