Monday, June 14, 2010

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

No comments:

Post a Comment