FengShui1998
MIS
Hello,
I am trying to find an easy to query for all printer objects in different OUs. I am not sure how to use wild cards but I know the printers are in the following:
strObjCmd = "SELECT printerName, serverName, location, drivername FROM " & " 'LDAP://CN=" & strPublisher & ",OU=PRINT,OU=Servers,OU=ZZZ,OU=YYY,DC=XXX,DC=nos,DC=thiscompany,DC=com' WHERE objectClass='printQueue'"
Is there a way to use wild cards?
Thanks ahead.
fengshui_1998