LDAP queries in console

  • Thread starter Thread starter Vladimir Nechipurenko
  • Start date Start date
V

Vladimir Nechipurenko

Hi all

I need to create LDAP queries (as text/script files) and run them in the
console. Is there any tool or util, intergrated\created by MS, which can run
txt (any text files) from the console and run them, generating, as the
result, the output file?

Thanks in advance for your help,
Vladimir Nechipurenko
 
Hi all

I need to create LDAP queries (as text/script files) and run them in the
console. Is there any tool or util, intergrated\created by MS, which can run
txt (any text files) from the console and run them, generating, as the
result, the output file?

Thanks in advance for your help,
Vladimir Nechipurenko


cscript //nologo Drive:\folder\script.vbs [paramter1 parameter2]

where script.vbs contains the vbscript LDAP query.

See the following tips in the 'Tips & Tricks' at http://www.jsifaq.com

9690 » How can a script return user properties using the LDAP provider?
9843 » How can I use VBScript to return all the users in my domain?
9706 » How can a script return a user's domain group membership using the LDAP provider?
9696 » How can a script return a domain group's members using the LDAP provider?
9972 » How can a query using the LDAP provider be directed to a specific domain controller?
8294 » How can I return the domain password policy attributes?




Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Back
Top