This can be done through WMI, I would have pointed you at MS Script Repository but they don't appear to have rendered all the VB Script examples from here but I think given the single example in Perl it should be simple to redo the others.
Another possibility is Win32::AD::User which appears to do most of what you want - it uses windows native LDAP capabilities rather than an external library.
/J\
In reply to Re: Active Directory
by gellyfish
in thread Active Directory
by BadMojo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |