标签: windows vbscript active-directory ldap
如何使用VBScript从Active Directory检索所有用户?
答案 0 :(得分:4)
Dim oDomain = GetObject("LDAP://OU=YourOU,DC=YourDomain,DC=com") For Each oUser in oDomain WScript.echo oUser.Get("distinguishedName")
也许这会让你跑步?