Commands › Exchange Online

Get-EXOMobileDeviceStatistics

Exchange Online ExchangeOnlineManagement Get-*

For more information, see About the Exchange Online PowerShell module. Use the Get-EXOMobileDeviceStatistics cmdlet to retrieve the list of mobile devices configured to synchronize with a specified user's mailbox and return a list of statistics about the mobile devices.

Quick start script

# Get-EXOMobileDeviceStatistics — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-EXOMobileDeviceStatistics | Format-List

# 3. Export for evidence / drift tracking
Get-EXOMobileDeviceStatistics | Export-Clixml .\EXOMobileDeviceStatistics-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

Identity (Default)

Get-EXOMobileDeviceStatistics [-Identity <String>]
 [-ActiveSync]
 [-ExternalDirectoryObjectId <Guid>]
 [-GetMailboxLog]
 [-NotificationEmailAddresses <String[]>]
 [-OWAforDevices]
 [-PrimarySmtpAddress <String>]
 [-RestApi]
 [-ShowRecoveryPassword]
 [-UniversalOutlook]
 [-UserPrincipalName <String>]
 [<CommonParameters>]

MobileDeviceIdentity

Get-EXOMobileDeviceStatistics [-Mailbox <String>]
 [-ActiveSync]
 [-GetMailboxLog]
 [-NotificationEmailAddresses <String[]>]
 [-OWAforDevices]
 [-RestApi]
 [-ShowRecoveryPassword]
 [-UniversalOutlook]
 [<CommonParameters>]

Parameters (12)

ParameterTypeRequiredWhat it controls
-Identity String The Identity parameter specifies the mobile device that you want to view. You can use any value that uniquely identifies the mobile device. For example:
-Mailbox String The Mailbox parameter filters the results by the user mailbox that's associated with the mobile device. You can use any value that uniquely identifies the mailbox. For example:
-ActiveSync SwitchParameter The ActiveSync switch filters the results by Exchange ActiveSync devices. You don't need to specify a value with this switch.
-ExternalDirectoryObjectId Guid The ExternalDirectoryObjectId parameter identifies the mailbox that you want to view by the ObjectId in Microsoft Entra ID.
-GetMailboxLog SwitchParameter This parameter is reserved for internal Microsoft use.
-NotificationEmailAddresses String[] This parameter is reserved for internal Microsoft use.
-OWAforDevices SwitchParameter The OWAforDevices switch filters the results by devices where Outlook on the web for devices is enabled. You don't need to specify a value with this switch.
-PrimarySmtpAddress String The PrimarySmtpAddress identifies the mailbox that you want to view by primary SMTP email address (for example, navin@contoso.com).
-RestApi SwitchParameter The RestApi switch filters the results by REST API devices. You don't need to specify a value with this switch.
-ShowRecoveryPassword SwitchParameter This parameter is reserved for internal Microsoft use.
-UniversalOutlook SwitchParameter The UniversalOutlook switch filters the results by Mail and Calendar devices. You don't need to specify a value with this switch.
-UserPrincipalName String The UserPrincipalName parameter identifies the mailbox that you want to view by UPN (for example, navin@contoso.onmicrosoft.com).

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.