Skip to main content

Get-XdrEndpointDeviceTotals

SYNOPSIS

Retrieves the device totals from Microsoft Defender XDR.

SYNTAX

Get-XdrEndpointDeviceTotals [[-HideLowFidelityDevices] <Boolean>] [[-LookingBackInDays] <Int32>] [-Force]
[-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Gets the total count of devices from the Microsoft Defender XDR portal with options to filter low fidelity devices and specify the lookback period.

EXAMPLES

EXAMPLE 1

Get-XdrEndpointDeviceTotals
Retrieves device totals using default settings (hiding low fidelity devices, 30 days lookback).

EXAMPLE 2

Get-XdrEndpointDeviceTotals -HideLowFidelityDevices $false -LookingBackInDays 90
Retrieves device totals including low fidelity devices with a 90-day lookback period.

EXAMPLE 3

Get-XdrEndpointDeviceTotals -LookingBackInDays 7
Retrieves device totals for the last 7 days, hiding low fidelity devices.

PARAMETERS

-HideLowFidelityDevices

Whether to hide low fidelity devices from the results. Defaults to $true.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: True
Accept pipeline input: False
Accept wildcard characters: False

-LookingBackInDays

The number of days to look back for device data. Defaults to 30 days.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 30
Accept pipeline input: False
Accept wildcard characters: False

-Force

Whether to force bypassing the cache and retrieve fresh data. Defaults to $false.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

The ProgressAction parameter is a common parameter, not a cmdlet parameter. For more information, see about_CommonParameters.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES