Challenging Active Directory question

By MrNemo
Sep 20, 2007
Topic Status:
Not open for further replies.
  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.

    THERE'S GOT TO BE A BETTER WAY!!!! =)

    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.

    Cheers,

    shane
  2. Tmagic650

    Tmagic650 TS Ambassador Posts: 20,679   +153

  3. MrNemo

    MrNemo Newcomer, in training Topic Starter Posts: 58

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

    Tmagic650 TS Ambassador Posts: 20,679   +153

    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.


Add New 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.