Solved

PowerShell script that looks at each user's "proxyAddresses" and "mail" attributes and then finds any duplicates

Posted on 2014-11-04
3
299 Views
Last Modified: 2014-11-08
I am looking for a PowerShell script that looks at each user's "proxyAddresses" and "mail" attributes and then finds any duplicates in Active Directory.  The results should include duplicates from users with and without "proxyAddresses" (non-mail enabled).

Thank you for your time in advance!

-KB
0
Comment
Question by:K B
3 Comments
 
LVL 6

Author Comment

by:K B
ID: 40423122
I do suppose that in the attribute proxyAddresses, only SMTP addresses need to be analyzed.
0
 
LVL 39

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 40423901
You can use the IdFix tool instead of scripts: http://technet.microsoft.com/en-us/library/dn727691.aspx
0
 
LVL 19

Expert Comment

by:Adam Farage
ID: 40423911
Or you can query it using ADUC (Active Directory Users and Computers) by doing the following...

Search > Custom Search > input the following:

proxyAddresses=smtp:smtpaddress@company.com

This will include public folders.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

806 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