Link to home
Create AccountLog in
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?
Avatar of Joe Klimis
Joe Klimis
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of 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
Avatar of fundacionrts
fundacionrts
Flag of Spain image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of neil4933
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