How to list all print servers in a domain? RRS feed

  • Question

  • Hi,

    I just to wondering how to get all print servers in domain? For exemple, if I just be hired in a new company and I want to know what are their print servers.


    Thursday, June 7, 2012 11:04 PM


  • Hi,

    Maybe something like that in Powershell with ActiveDirectory Module :

    Import-Module ActiveDirectory
    Get-ADObject -LDAPFilter "(&(&(&(uncName=*)(objectCategory=printQueue))))" -properties *|Sort-Object -Unique -Property servername |select servername


    • Marked as answer by SAMATA Friday, June 15, 2012 4:46 AM
    Friday, June 8, 2012 2:11 PM

All replies