FSMO thru Command line

For those geeks that want to know everything from command line,

DSQUERY is of great help.

For example:

Finding the PDC in the domain:-

dsquery server -hasfsmo pdc

Finding the RID in the domain:-

dsquery server -hasfsmo pdc

Finding the Infrastructure master in the domain:-

dsquery server -hasfsmo infr

For schema & domain naming roles keywords are schema & name.

Finding GC’s in forest:-

dsquery server -forest -isgc

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s