Examples: To find all AD DCs in the current domain: dsquery server To find all AD DCs in the forest and display their Relative ...

Examples: To find all AD DCs in the current domain:      dsquery server  To find all AD DCs in the forest and display their Relative Distinguished Names:      dsquery server -o rdn -forest  To find all AD DCs in the site whose name is "Latin-America", and display their Relative Distinguished Names:      dsquery server -o rdn -site Latin-America  Find the AD DC in the forest that holds the schema FSMO role:          dsquery server -forest -hasfsmo schema  Find all AD DCs in the domain example.microsoft.com that are global catalog servers:      dsquery server -domain example.microsoft.com -isgc  Find all AD DCs in the current domain that hold a copy of a given directory partition called "ApplicationSales":      dsquery server -part "Application*"