Challenging Active Directory question

By MrNemo
Sep 20, 2007
  1. I often have to do analysis and reporting on IIS logs, pinpointing users who are still accessing old systems and sending this info to other admins to track down why they are using it.

    I can get usernames (like ldavis3, mmoon, HPATEL) easily. But the challenge is often getting REAL names for a report, and these people need both.

    Currently, I have to go into Active Directory and search for each user name, and just go in and find the real name. Ctrl+C, Ctrl+V like 300 times LOL.


    Does anyone use DSQuery? I just found out it existed (Doh!) and am just trying to find out how to get a user's actual name output from an input of their username. From there, I think I am golden.


  2. Tmagic650

    Tmagic650 TS Ambassador Posts: 17,181   +225

  3. MrNemo

    MrNemo TS Rookie Topic Starter Posts: 48

    Sweet! This will get me started. I want to write a script using this. Thank you.
  4. Tmagic650

    Tmagic650 TS Ambassador Posts: 17,181   +225

    You are very welcome... Google is extremely useful, although you have to be skilled to weed through all the links and info, and select what you need
Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.