?
Solved

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

Posted on 2014-11-04
3
Medium Priority
?
325 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Author Comment

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

Accepted Solution

by:
Vasil Michev (MVP) earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

764 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