While I am not Glenn, You can use the UDF fnLDAPQuery() to generate your array on the fly.

 Code:
 $Batch = fnLDAPQuery('computer','ou=Computer,ou=4th,dc=microsoft,dc=fabrikon,dc=com')
;fnLDAPQuery(WHAT, Optional FROM, Optional FILTER, Optional ORDER BY, Optional SCOPE, Optional USER, Optional PASSWORD)

You can find the udf here http://www.kixtart.org/UDF/UDF_lister.php?what=post&code=142043
_________________________
Today is the tomorrow you worried about yesterday.