I actually dug up some other (more concise) code that I was able to manipulate and derive what I am loooking for. I am going to hold on to your ldifde piece though. Thanks!
I am working on a script that will retrieve specific user attributes from AD. The attributes I am looking for are:
sAMAccountName
userPrincipalName
distinguishedName
mail
legacyExchangeDN
proxyAddresses
I have a script that will return the sAMAccountName and userPrincipleName, but I can't get...
I am not a database administrator or any such thing, and I apologize beforehand if my question is too basic for this forum.
A family member is attempting to set up some sort of website where people will be registering and he needs to be able to run a query against the existing database...
mrmovie-
first of all, thanks for the reply! I have been reading several threads and you are an active and extremely helpful contributor in basically all of them; newbies to vbscript like myself really appreciate (and desperately need) that.
the reason I need to reference a text file is...
I am in no rush, and would prefer to take a step back and learn. I have no code yet, but do have 'scriptomatic.'
the real task I want is to write a script that will parse a text file list of user IDs and for each ID reference the AD for each group that user belongs to and pipe it to a log file...
I need to write a script that will reference a list of users and query the (NT4) domain for their group memberships and then pipe that info into a readable file. I appreciate any help you can provide. Thanks!
Richard-
Thanks for the reply! How can I make the dictionary global? I only have the function code listed once, and I reference it for only the 1 mapping...what am I doing wrong? I absolutely want to query AD only 1 time and then have the dictionary for reference (however many times I need...
I am having some trouble mapping a drive based on group membership. I can successfully build a dictionary of a user's groups, but cannot derive mappings based on this. I am including the code I have:
' First test for environment
If Domain = "Testing" Then
If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.