But the line EnumOUsForComputers("LDAP://u.. doesn't contain a filter, but just a string ? I thought $filter should be an array ??

I'm totally not into OLE, so don't shoot me [Wink]
_________________________
Kind regards,