July 31, 2026 Stories worth reading. Perspectives worth sharing.
Get all the domains controllers in the AD forest along with their current FSMO roles
Active Directory

Get all the domains controllers in the AD forest along with their current FSMO roles

mo wasay June 11, 2021 1 min read

In a large enterprise an admin would need to keep track of all the domains in a AD forest, the domain names, the domain controllers (DC) , their IPs, and what FSMO roles does a DC hold. Wrote a little script to just do that…