Solved

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

Posted on 2014-11-04
3
305 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 7

Author Comment

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

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

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
how to add IIS SMTP to handle application/Scanner relays into office 365.

726 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