← All XDRInternals commands

POWERSHELL COMMAND

Get-XdrEndpointDeviceVendor

Retrieves all device vendors from Microsoft Defender for Endpoint.

View source ↗

Gets a list of all device hardware vendors from the Microsoft Defender XDR portal. This function includes caching support with a 30-minute TTL to reduce API calls.

Syntax

Get-XdrEndpointDeviceVendor [-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-XdrEndpointDeviceVendor
Retrieves all device vendors using cached data if available.
Get-XdrEndpointDeviceVendor -Force
Forces a fresh retrieval of device vendors, bypassing the cache.

Output

Type: Array

Returns an array of device vendor names.

View source