• 1. London, UK
  • 2. Sydney, Australia
  • 3. New York, NY
  • 4. Melbourne, Australia
  • 5. Bellevue, WA
  • 6. Paris, France
  • 7. Moscow, Russia
  • 8. Chicago, IL
  • 9. San Francisco, CA
  • 10. Amsterdam, Netherlands

Friday, September 14, 2007

 

Exchange Server 2007: How to get a list of Exchange ActiveSync users

Posted by Bharat Suneja at 8:09 AM
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

Labels: , , ,

10 Comments:

September 14, 2007 8:56 AM
Blogger Jan said...

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.

 
September 14, 2007 9:13 AM
Blogger mookie99 said...

Do you have info on how one could get a list of Exchange 2003 EAS users?

 
September 14, 2007 9:33 AM
Blogger Bharat Suneja said...

Jan,

Thanks for pointing out the typo! Corrected.

Bharat

 
September 17, 2007 2:50 PM
Anonymous Murray Wall said...

I have a script that will perform this for 2003 if anyone is interested

 
September 18, 2007 1:23 PM
Blogger Bharat Suneja said...

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

 
September 24, 2007 6:51 AM
Anonymous Murray Wall said...

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...

 
September 24, 2007 7:16 AM
Blogger Bharat Suneja said...

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?

 
September 25, 2007 8:06 AM
Blogger Murray Wall said...

I have added it to my blog (just created!)
http://mostlymail.blogspot.com/

 
June 20, 2008 7:19 AM
Anonymous Philip Colmer said...

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.

 
June 20, 2008 10:04 AM
Blogger Bharat Suneja said...

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.

 

Post a Comment

Links to this post:

Create a Link

<< Home