Code:
$Batch = FnLDAPQuery("Name","cn=Computer,ou=4th","(objectClass=computer)",,"SUBTREE" )


Sorry it has taken so long to respond. Your first variable is what Value from the LDAP object you want to return, second variable is where to search (I believe you can leave the root off of this, but you may need to add it). In My AD enviroment the computers are all in a container not an OU. The third variable tells it what type of object class you are looking for so that you can filter out unwanted results and so on and so forth.

If you are unsure of what all of the AD properties are get a good LDAP Browser (there are lots of free ones out there), it will help you many times over.
_________________________
Today is the tomorrow you worried about yesterday.