Quick 1-Liner to List Domain Controllers and ReadOnly Statuses

PS C:\WINDOWS> Get-ADDomainController -Filter * | select Name,IsReadOnly

Name       IsReadOnly
----       ----------
MONKEY       False
BABOON       False
GIRAFFE      False
LION   FALSE
KIMCONNECT   True
KIMDISCONNECT True
WHAT        True
NOWAY        True
WEBDC01      True
WEBDC02      True
SSO01        True
Posted on Categories Codes

Leave a Reply

Your email address will not be published. Required fields are marked *