Get attribute for a user

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    jaunis
    Member
    #154241

    Hi everybody, good morning (at least in my time zone =P)

    Once in a while I have to check for an attribute of a user that is not listed in the “propierties” of the user ni the AD console, so I have to go to ADSI Edit, manually look up for the user, and manually look up for that specific attribute.

    I assume that there should be a much better / faster way of doing this:

    “Look for user PETER and echo whatever shows in the Age attribute”

    I don’t have a lot of experience in scripting but I was wondering if this could be done with dsget and filter? Do you think there’s a better way?

    Of course the BEST thing would be a VBScript that asks you for the user’s CN and then returns the result of the query in a dialog box, but I don’t know VBScripting that much as to do that.

    Well thank you very much you all! :)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.