Commands › Exchange Online
Get-MobileDeviceStatistics
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. **Note**: In Exchange Online PowerShell, we recommend that you use the Get-EXOMobileDeviceStatistics cmdlet instead of this cmdlet. For more information, see Connect to Exchange Online PowerShell.
Quick start script
# Get-MobileDeviceStatistics — 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-MobileDeviceStatistics -Identity <MobileDeviceIdParameter> -Mailbox <MailboxIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Get-MobileDeviceStatistics | Export-Clixml .\MobileDeviceStatistics-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Identity
Get-MobileDeviceStatistics [-Identity] <MobileDeviceIdParameter>
[-ActiveSync]
[-DomainController <Fqdn>]
[-GetMailboxLog]
[-NotificationEmailAddresses <MultiValuedProperty>]
[-OWAforDevices]
[-ShowRecoveryPassword]
[-RestApi]
[-UniversalOutlook]
[-UseCustomRouting]
[<CommonParameters>]
Mailbox
Get-MobileDeviceStatistics -Mailbox <MailboxIdParameter>
[-ActiveSync]
[-DomainController <Fqdn>]
[-GetMailboxLog]
[-NotificationEmailAddresses <MultiValuedProperty>]
[-OWAforDevices]
[-ShowRecoveryPassword]
[-RestApi]
[-UniversalOutlook]
[-UseCustomRouting]
[<CommonParameters>]
Parameters (11)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.