Getting a list of actual Exchange ActiveSync (EAS) users was not an easy task with Exchange Server 2003, and certainly not one that could be accomplished in a hurry.
Yes, it indeed is a one-liner shell command with Exchange Server 2007:
Get-CASMailbox | where {$_.HasActiveSyncDevicePartnership} | select Name
10/7/2008:
Here’s an updated version, which uses the -Filter parameter to filter recipients on the server-side:
Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true} | Select Name
{ 11 comments… read them below or add one }
Thanks for the – as always- useful hint. Just a little correction: The closing parenthesis needs to be replaced with a brace in order for the command to work.
Do you have info on how one could get a list of Exchange 2003 EAS users?
Jan,
Thanks for pointing out the typo! Corrected.
Bharat
I have a script that will perform this for 2003 if anyone is interested
could you send me thescript
mookie99,
For Exchange Server 2003, you have to parse IIS logs using a tool like Microsoft’s (free) Log Parser.
The Exchange team blog has several posts documenting this:
1. Exchange 2003 – Active Sync reporting
2. More on Exchange ActiveSync Reporting with Log Parser – COM object available
The Script I have parses AD and looks for the active sync folder within the Mailbox that is created when a device syncs up. its a VBScript modified from Glen Scales, Tues Sept 26 2006. No need to have any IIS logs…
Murray,
Yes, that’s another way of getting a list of mailboxes with ActiveSync enabled and an existing device partnership.
Can you post a link to that script, and also detail the permissions required on mailbox(es)/mailbox Stores to be able to access mailboxes?
I have added it to my blog (just created!)
http://mostlymail.blogspot.com/
This seems to be producing names for people who don’t actually have an activesync device partnership. I’m seeing names of people who don’t have any device, or who are using a BlackBerry.
Very strange.
Philip,
Just posted an updated snippet in
Exchange Server 2007: Listing Exchange ActiveSync users and device information. It lists users with device and times of first sync, last successful sync, phone number, deviceID, etc.
It’s possible users may have had a device at some time in the past and the device partnership was never removed.
{ 2 trackbacks }