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

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