Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All the inetOrgPersons in an ADAM OUContent of List All the inetOrgPersons in an ADAM OU.vbsMD5 Hash: 776CB8196D334888F233E02CF7F76E98 |
||
' Description: Lists all the inetOrgPerson accounts in an ADAM OU named Accounting.
On Error Resume Next Set objOU = GetObject("LDAP://localhost:389/ou=Accounting,dc=fabrikam,dc=com") objOU.Filter = Array("inetOrgPerson") For Each objUser in objOU Wscript.Echo objUser.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |