共用方式為


Gather Domain Controller Configuration Script

Recently, I needed to gather some information about the domain controllers in my customer's AD DS environments for a migration to Windows Server 2016. The customer has several forests, with several domains, with several domain controllers, all over the world.

Obviously, RDPing into each one isn't practical.

Bring on PowerShell!

In collaboration with a fellow Microsoft employee (waiting on approval to post his name), we wrote a script that will gather the data needed and output it to a CSV file. It uses a workflow to connect to each domain controller and return the data.

Disclaimer-- There may be 'better' or ‘more efficient’ or ‘cleaner’ or ‘whatever’ way to do what this script accomplishes. I know that, but this works and does what I needed it to do.

You can get the latest version of the script here.

Hope it helps someone, anyone.

T-