' List All the inetOrgPersons in an ADAM OUOn Error Resume NextSet objOU = GetObject("LDAP://localhost:389/ou=Accounting,dc=fabrikam,dc=com")objOU.Filter = Array("inetOrgPerson")For Each objUser in objOU Wscript.Echo objUser.NameNext search for scripts
' List All the inetOrgPersons in an ADAM OUOn Error Resume NextSet objOU = GetObject("LDAP://localhost:389/ou=Accounting,dc=fabrikam,dc=com")objOU.Filter = Array("inetOrgPerson")For Each objUser in objOU Wscript.Echo objUser.NameNext
Download Home Scripts Copyright © 2001-2024 adersοft