Thursday, July 31, 2014

Activesync Device Report Exchange 2010

To get a list of activesync devices for all mailboxes in organisation can be achieved using the scripts found on Brian Desmond's blog, here:

You can use a single line to get the details of a specific user:
Get-Mailbox -Identity %USER% | ForEach-Object {Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity}

EG:  Get the ActiveSync Statistics for user anonit:
Get-Mailbox -Identity anonit | ForEach-Object {Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity}

If users have multiple devices, it may be best to use the EXPORT-CSV cmdlet.  EG:
Get-Mailbox -Identity anonit | ForEach-Object {Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity} | Export-CSV ActiveSyncReport-anonit.csv

No comments:

Post a Comment