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

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
LVL 8
K BAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Vasil Michev (MVP)Connect With a Mentor Commented:
You can use the IdFix tool instead of scripts: http://technet.microsoft.com/en-us/library/dn727691.aspx
0
 
K BAuthor Commented:
I do suppose that in the attribute proxyAddresses, only SMTP addresses need to be analyzed.
0
 
Adam FarageEnterprise ArchCommented:
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
All Courses

From novice to tech pro — start learning today.