List all Domain Controllers in an Active Directory Domain

I'm putting this here because I often find myself searching for this one-line command to list the domain controllers for a domain. Nice simple command from a windows machine:

nltest /dclist:example.com

Leave a comment

Your email address will not be published. Comments are moderated before appearing.