Solved

Find number of contacts in a users mailbox

Posted on 2011-02-21
17
1,166 Views
Last Modified: 2013-05-06
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
0
Comment
Question by:dealstrike
17 Comments
 
LVL 12

Expert Comment

by:Navdeep
ID: 34946933
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
 

Author Comment

by:dealstrike
ID: 34947045
So basically there is no way to tell from the exchange level?
0
 
LVL 12

Expert Comment

by:Navdeep
ID: 34947090
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
 

Author Comment

by:dealstrike
ID: 34947219
I am looking for the number of ontacts they have in their outlook (exchange), don't reallycare about local contacts if that helps
0
 
LVL 12

Expert Comment

by:Navdeep
ID: 34947323
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
 

Author Comment

by:dealstrike
ID: 34947660
Thanks, would this be just for a single defined user or all contacts?
0
 
LVL 12

Expert Comment

by:Navdeep
ID: 34947663
It will be for all contacts
0
 

Author Comment

by:dealstrike
ID: 34947757
I am just looking for the number of contacts for a specific user
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 12

Accepted Solution

by:
Navdeep earned 500 total points
ID: 34947778
Hi there no such thing that as contacts for specific user. The contacts r pulled from gal
0
 

Author Comment

by:dealstrike
ID: 34947829
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
 
LVL 12

Assisted Solution

by:Navdeep
Navdeep earned 500 total points
ID: 34947887
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
 

Author Comment

by:dealstrike
ID: 34947973
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
 
LVL 12

Expert Comment

by:Navdeep
ID: 34947981
Yes user may have saved the gal as his local address book
0
 

Author Comment

by:dealstrike
ID: 35223858
thanks
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 35446314
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 

Expert Comment

by:Yuz77
ID: 36205511
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

910 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

16 Experts available now in Live!

Get 1:1 Help Now