Dim $Branch1, $Branch2, $Branch3, $Branch4
;fnLDAPQuery(WHAT, Optional FROM, Optional FILTER, Optional ORDER BY, Optional SCOPE, Optional USER, Optional PASSWORD)
$Branch1 = fnLDAPQuery('srv-dc1','LDAP://ou=Computers,ou=forthAve,dc=microsoft,dc=funnycu,dc=priv','(&(objectClass=Computers)(srv-dc1=*))')
$Branch2 = fnLDAPQuery('srv-dc1','LDAP://ou=Computers,ou=EighthSt,dc=microsoft,dc=funnycu,dc=priv','(&(objectClass=Computers)(srv-dc1=*))')
$Branch3 = fnLDAPQuery('srv-dc1','LDAP://ou=Computers,ou=PostRd,dc=microsoft,dc=funnycu,dc=priv','(&(objectClass=Computers)(srv-dc1=*))')
$Branch4 = fnLDAPQuery('srv-dc1','LDAP://ou=Computers,ou=PostRd,dc=microsoft,dc=funnycu,dc=priv','(&(objectClass=Computers)(srv-dc1=*))')
For Each $x in $Branch1
;Display array list as test
? "1:"+$x
Next
For Each $x in $Branch2
;Display array list as test
? "2:"+$x
Next
For Each $x in $Branch3
;Display array list as test
? "3:"+$x
Next
For Each $x in $Branch4
;Display array list as test
? "4:"+$x
Nex