Wednesday, January 11, 2012

Find your FSMO config

Here is a cool powershell script that reports FSMO roles on your domain


$dom=[system.directoryservices.activedirectory.domain]::getcurrentdomain()
$dom | format-list *


 The first line holds a directory connection in the variable $dom so you can pipe it through thr format-list command in the second line.

the alternative CMD command is


netdom query /domain:mydomain.co.uk fsmo


No comments:

Post a Comment