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,244   +234

  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,244   +234

    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

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...