POWERSHELL COMMAND
Get-XdrEndpointLicenseReport
Retrieves license usage report for Microsoft Defender for Endpoint.
Retrieves license usage report for Microsoft Defender for Endpoint. This function includes caching support with a 30-minute TTL to reduce API calls.
Syntax
Get-XdrEndpointLicenseReport [-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-XdrEndpointLicenseReport
Retrieves license usage report for Microsoft Defender for Endpoint.
Get-XdrEndpointLicenseReport -Force
Forces a fresh retrieval, bypassing the cache.
Output
Type: Object
Returns the API response.