New Active Directory Documents for IT Pros
Recently a question was asked on the blog regarding printing queries from Active Directory Administrative Center (ADAC). There is no native functionality for printing queries performed in ADAC, but there is a workaround.
1. Open ADAC and create a query:
2. Convert the query to LDAP:
3. Open the Active Directory module for Windows PowerShell and copy the filter into the Windows PowerShell command window:
You can now print the corresponding text file that contains the results of your query.
I think that's a cool method for getting a better understanding of LDAP query syntax. The only thing I would add is the use of the 'out-printer' cmdlet if you wanted to just send the output directly to the printer without creating a new text file.