Printing results from an Active Directory Administrative Center query
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.
Comments
- Anonymous
January 01, 2003
The comment has been removed - Anonymous
January 01, 2003
This is what I get when I try it, see above - Anonymous
January 01, 2003
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.