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:
http://briandesmond.com/blog/how-to-create-an-activesync-device-report/
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