making the change indicated below works! I'm now getting a list of objects!

Now on to tackle the other parts of the code...Any advisors/takers?

$ou = olegetobject(0,"LDAP://OU=x,OU=y,DC=domain,DC=net")