Avatar of neil4933
neil4933
 asked on

Finding AD username of AD GUIDS

Hello

I have a list of about twenty Active Directory GUIDs that I need to convert to something more user friendly, (e.g. AD username UPN, DisplayName).

I have the list of GUID's in a csv file named GUID.csv

Does anyone know of a Powershell (we have Quest) or similar that we can run to get this info?
Active DirectoryWindows Server 2008Powershell

Avatar of undefined
Last Comment
neil4933

8/22/2022 - Mon
Joe Klimis

Mike Kline

There is a shortcut in adfind that can help


http://www.joeware.net/freetools/tools/adfind/index.htm

adfind -sc adguid:57572....

Would need to wrap around a batch to read from the csv


Thanks
Mike
ASKER CERTIFIED SOLUTION
fundacionrts

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
neil4933

ASKER
Thanks all

We actually do have Quest Powershell which should help.

If I look at an account, the objectGUID value is what we have in GUID.txt

How can I convert this to DisplayName?

So, I have:

i. objectGUID for a list of users and I want to know DisplayName

I guess the PS query is saying:

get-QADuser where objectGUID=*first value in csv* and return me the DisplayName value
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck