Dcdiag

to see the fsmo roles type:

dsdiag /test:knowsofroleholders /v

Or the old command:

netdom query fsmo
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License