Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Finding AD username of AD GUIDS

Posted on 2012-03-11
4
Medium Priority
?
289 Views
Last Modified: 2012-09-08
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?
0
Comment
Question by:neil4933
[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
4 Comments
 
LVL 11

Expert Comment

by:Joe Klimis
ID: 37707533
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 37707623
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
0
 
LVL 8

Accepted Solution

by:
fundacionrts earned 2000 total points
ID: 37707661
This line returns you a list of SID, Domain and Name of accounts that are found by GUID

Get-Content test.txt | Foreach-Object {Get-WMIObject Win32_Account -Filter "sid='$_'" | Select-Object SID,Domain,Name}

Note: This line do not returns any information about guid not found...
0
 

Author Comment

by:neil4933
ID: 37707712
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
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

598 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