Find number of contacts in a users mailbox

Hey all, we are using exchange 2007 here... is there a way to tell how many contacts a user has in their mailbox account? I know you can tell the total # of items, but anyway to find out just the number of contacts?

Thanks
dealstrikeAsked:
Who is Participating?
 
NavdeepConnect With a Mentor Commented:
Hi there no such thing that as contacts for specific user. The contacts r pulled from gal
0
 
NavdeepCommented:
Hi,

That info would be common across all the users since the information would be coming down from Global Address List. Unless user has created a local address box then you won't be able to tell.

0
 
dealstrikeAuthor Commented:
So basically there is no way to tell from the exchange level?
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
NavdeepCommented:
You can query AD and search for contacts. This will give you total no. of contacts but essentially to tell what user is looking at including local contacts is not possible at exchange level. Whatever contacts you have in AD that can be revealed.
0
 
dealstrikeAuthor Commented:
I am looking for the number of ontacts they have in their outlook (exchange), don't reallycare about local contacts if that helps
0
 
NavdeepCommented:
Hi,

use the following exchange management shell command
http://technet.microsoft.com/en-us/library/bb124717%28EXCHG.80%29.aspx

get-mailcontact | measure-object

check for the count, that would be total no. of mailcontacts.

Hope this will help you.
0
 
dealstrikeAuthor Commented:
Thanks, would this be just for a single defined user or all contacts?
0
 
NavdeepCommented:
It will be for all contacts
0
 
dealstrikeAuthor Commented:
I am just looking for the number of contacts for a specific user
0
 
dealstrikeAuthor Commented:
maybe I am not being clear...the contacts that users have in their outlook..they add those that are added to their exchange mailbox contacts, I am not looking for GAL contacts
0
 
NavdeepConnect With a Mentor Commented:
If it local contacts in users address book then u won't be able to tell using shell. For that user export his address book to excel n use count function
0
 
dealstrikeAuthor Commented:
Its not his local contacts...they are his exchange mailbox contacts when he saves them in outlook...maybe we are talking about the same thing and there isnt a way to do it..
0
 
NavdeepCommented:
Yes user may have saved the gal as his local address book
0
 
dealstrikeAuthor Commented:
thanks
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 
Yuz77Commented:
I used MFCMAPI http://mfcmapi.codeplex.com/ to establish a login session to the user's mailbox and retrieve the contact list items from there. The result is accurate.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.