Projects Log

projects, diy


« PreviousNext »

Find your printers with Active Directory and Perl

6 July 2006

Small perl script to find every printer in the active directory with perl

[The requested file could not be found]

Archived in Active directory, perl, win32 | Trackback | | Top Of Page

One Response to “Find your printers with Active Directory and Perl”

  1. Brian Desmond Says:

    objectClass isn't indexed by default in AD – in a large directory this will take a major perf hit on your domain controllers. The query will be slow either way.

    (&(objectCategory=printQueue)(objectClass=printQueue)) is a more efficient query as objectcategory is always indexed.