← All XDRInternals commands

POWERSHELL COMMAND

Get-XdrEndpointConfigurationPotentiallyUnwantedApplications

Retrieves the potentially unwanted applications (PUA) configuration for Microsoft Defender for Endpoint.

View source ↗

Gets the configuration settings for potentially unwanted applications from the Microsoft Defender XDR portal. This function includes caching support with a 30-minute TTL to reduce API calls.

Syntax

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

Output

Type: Object

Returns the API response.

View source