Link to home
Start Free TrialLog in
Avatar of OdyChris
OdyChrisFlag for United States of America

asked on

CMD to view ActiveSync Users

Is there a cmdlet that I can run on Exchange 2007 to see which user accounts have or are accessing the Exchange Server via ActiveSync?

Im curious to see what users are connecting without approval using their personal devices for corporate emails... either using iPhones or WM devices... :(
Avatar of KuncikLibor
KuncikLibor
Flag of Czechia image

Get-ActiveSyncDeviceStatistics
sample:
Get-ActivesyncDeviceStatistics -mailbox email@domain.com
Avatar of OdyChris

ASKER

Thansk for your quick reply KuncikLibor,
 
This command would need to be run for all 320 of my users? Is there one that would let me know of all the users that have connected with that service?
Here is sample for users with device partnership. (at least once connected)
Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true}
ASKER CERTIFIED SOLUTION
Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Awesome info guys, this is what I want...
So to export this info to a excel spreadsheet... would I do something like:

Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true} | foreach {Get-ActivesyncDeviceStatistics -mailbox $_.name} | Export-Csv C:\Test.csv