Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Full names in a txt file. Need to query the full names and get the Ntlogin's from ADS.

Hi,

Full names in a txt file. Need to query the full names and get the Ntlogin's from ADS.
Is there a script that can query each full name in the txt file and get the NTlogin to another file.

Reards
Sharath
Avatar of Americom
Americom
Flag of United States of America image

What exactly are you trying to do? What "Ntlogin's" are you referring to?
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsharath

ASKER

Rob in this script is there any restriction. As i get just results to 1 user.

Can you please check. If not found then has to be logged in the csv
Rob in this script is there any restriction. As i get just results to 1 user.

Can you please check. If not found then has to be logged in the csv
Oh yeah, this line:
      strResults = """" & strFullName & """,""" & strNTLogins & """"


should be this
      strResults = strResults & vbCrLf & """" & strFullName & """,""" & strNTLogins & """"


Regards,

Rob.
Thank U Rob works fine...
Any help with other posts...
Thank U Rob works fine...
Any help with other posts...