The way I posted it doesn't need to be changed
Except for the OU strings.
 Code:
$Branch1 = fnLDAPQuery('Name','LDAP://ou=Computer,ou=4th,dc=microsoft,dc=fabrikon,dc=com','(&(objectClass=Computer)(Name=*))')
$Branch2 = fnLDAPQuery('Name','LDAP://ou=Computer,ou=8th,dc=microsoft,dc=fabrikon,dc=com','(&(objectClass=Computer)(Name=*))')
$Branch3 = fnLDAPQuery('Name','LDAP://ou=Computer,ou=plov,dc=microsoft,dc=fabrikon,dc=com','(&(objectClass=Computer)(Name=*))')
$Branch4 = fnLDAPQuery('Name','LDAP://ou=Computer,ou=Stevens,dc=microsoft,dc=fabrikon,dc=com','(&(objectClass=Computer)(Name=*))')

'Name' is the name of the computer. (Don't change this to srv-01, it wont work, leave it as 'Name')
'LDAP://" is the OU string where to get the computers from
'(&(objectClass=Computer)(Name=*))' is the filter to apply, so the array won't contain OU names or any other objects except computers.

So only change the OU string to match that of your AD and it will work as I posted in my last post.