Solved

CMD to view ActiveSync Users

Posted on 2009-07-16
5
594 Views
Last Modified: 2013-12-05
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... :(
0
Comment
Question by:OdyChris
  • 2
  • 2
5 Comments
 

Expert Comment

by:KuncikLibor
ID: 24872452
Get-ActiveSyncDeviceStatistics
sample:
Get-ActivesyncDeviceStatistics -mailbox email@domain.com
0
 

Author Comment

by:OdyChris
ID: 24872490
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?
0
 

Expert Comment

by:KuncikLibor
ID: 24872885
Here is sample for users with device partnership. (at least once connected)
Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true}
0
 
LVL 65

Accepted Solution

by:
Mestha earned 500 total points
ID: 24872888
You need to use get-casmailbox and then some filters.

A basic list:

Get-CASMailbox | where {$_.HasActiveSyncDevicePartnership} | select Name

Another way of doing the same:

Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true} | foreach {Get-ActivesyncDeviceStatistics -mailbox $_.name}

If you run get-activesyncdevicestatistics against a user who you know has the partnership then you can see what you can get out of it, then add them to script.

Simon.
0
 

Author Comment

by:OdyChris
ID: 24878404
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
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now