Home > Active Directory, Microsoft, Quickie > Quickie: List FSMO roles from command line

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 🙂

 

  1. michal
    August 15th, 2013 at 12:24 | #1

    Ja som pouzival iba >> netdom query fsmo – ale funguje iba ak mas jednu domenu (netdom, je sucastou OS az od verizie WS2008) 🙂

  2. August 15th, 2013 at 12:27 | #2

    Presne. Mas pravdu 🙂

  1. No trackbacks yet.