List devices connected via Exchange ActiveSync

If you need a list of all devices currently (or historically) connected to Exchange via ActiveSync, this PowerShell script will list the relevant info for you:

Get-Mailbox | ForEach {Get-MobileDeviceStatistics -Mailbox:$_.Identity} | select-object Identity, DeviceFriendlyName, Devicetype, DeviceUserAgent, LastSuccessSync | Export-CSV C:\ActiveSyncList.csv -Encoding ascii

Related Posts

Need IT Help?

If you need assistance please feel free to reach out to us.