Wednesday 10 July 2013

How to get the EAS report

PS C:\Windows\system32> get-casmailbox -resultsize unlimited | where{$_.hasactivesyncdevicepartnership -eq "TRUE"} | foreach-object{Get-ActiveSyncDeviceStatistics -Mailbox $_.name} | Select Identity, FirstSyncTime, LastSyncAttemptTime, LastSuccessSync, DeviceType, DeviceID, DeviceUserAgent, DeviceModel, DeviceOS, DeviceAccessState, DeviceAccessStateReason,
DevicePolicyApplied, DevicePolicyApplicationStatus, DeviceActiveSyncVersion | Export-Csv C:\temp\asdevices.csv

No comments:

Post a Comment