Solved

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

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

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

689 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