TechnoGist

gist (jst)# The central idea; the essence…

Archive for the ‘displayname’ tag

Converting .diasplayName to .cn User object attributes

without comments

I routinely have to populate Active Directory Email distribution lists from lists of employee full names. These list usually contain the “.displayName” of the user. A quick way to resolve this is to convert the “.displayName” of the user into the users common name or “.cn” attribute and cut/paste them into the distribution lists “Members” box. I put the list of users display names into a C:\Scripts\Users.txt file and the script will produce a list of .cn attribute in the C:\Scripts\ConvertedUsers.txt file.

All information is provided on an AS-IS basis, with no warranties and confers no rights.

Written by Paul Brice

April 9th, 2009 at 1:33 pm

Posted in PowerShell

Tagged with , , , , , ,