select cn, mail, distinguishedname, displayname, samaccountname FROM OPENROWSET('ADSDSOObject',
'adsdatasource;', 'SELECT cn, mail, distinguishedName, displayName, samaccountname
FROM ''LDAP://company.com'' where objectClass = ''User'' and objectCategory=''Person'' ')
Monday, March 23, 2009
Software List on Domain Computers VB Script
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment