Active Sync Stats
Get-CASMailbox -ResultSize unlimited | where {$_.ActiveSyncEnabled -eq “true”} | ForEach-Object {Get-
ActiveSyncDeviceStatistics -Mailbox:$_.identity} | select Devicetype, DeviceID,DeviceUserAgent, FirstSyncTime,
LastSuccessSync, Identity, DeviceModel, DeviceFriendlyName, DeviceOS | Export-Csv c:\activesync.csv