Solved

Find number of contacts in a users mailbox

Posted on 2011-02-21
17
1,154 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

760 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

21 Experts available now in Live!

Get 1:1 Help Now