Quickie: List FSMO roles from command line
I always don’t remember commands to list all FSMO roles in domain so I decided to take a quick note into my diary 🙂 :
- Connect to domain controller
-
run ntdsutil
- write roles
- write connections
- write connect to server SERVER_NAME
- write q
- write select operation target
- write list roles for connected server
More sexy command is
netdom query /domain:DOMAIN_NAME fsmo
and viola. I know it’s dummy post, but I had to wrote it down 🙂
Ja som pouzival iba >> netdom query fsmo – ale funguje iba ak mas jednu domenu (netdom, je sucastou OS az od verizie WS2008) 🙂
Presne. Mas pravdu 🙂