Avatar of MrLonandB
MrLonandB
 asked on

Query From GUID to Common Name

Hello All,

I am looking for a way to search Active Directory using a GUID. I am having a couple of issues where DNS will not create a resource record and the error notice returns the GUID of the object in question. I need to a way to search AD using the GUID...to retrieve the object name.

Thanks.
Apple OSWindows Server 2003

Avatar of undefined
Last Comment
Don

8/22/2022 - Mon
MightySW

MrLonandB

ASKER
Am I correct in assuming that what you provided is some sort of developers code? I am not familiar with that or how I would use it. Thanks.
MightySW

Yes,
You may have to repost this in the VBscripting forums.  That is what I would do.  More than likely they will point you to the same command, but how to use it in a query.

HTH
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
MrLonandB

ASKER
I posted it in WIN2K3 Server...hoping there might be an ADSI or LDP query that I can use against Active Directory.
Don


try http://msdn.microsoft.com/en-us/library/ms676008.aspx
DsMapSchemaGuids Function
The DsMapSchemaGuids function converts GUIDs of directory service schema objects to their display names.
ASKER CERTIFIED SOLUTION
Don

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.