Posted On March 31, 2019

Quick 1-Liner to List Domain Controllers and ReadOnly Statuses

kimconnect 0 comments
blog.KimConnect.com >> Codes >> 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

Leave a Reply

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

Related Post

PowerShell: Error Unable to find package provider ‘NuGet’ Resolved

How to install module in Powow Shill Current Version: $moduleCommand='New-SSHSession' $moduleName='Posh-SSH' if(!(get-command $moduleCommand -ea Ignore)){…

Invoke T-SQL on Multiple Servers

$computersAndCredentials=@{ 'SQL01'=@{'intranet\sql01Admin'='PASSWORD'} 'SQL02'=@{'intranet\sql02Admin'='PASSWORD'} 'SQL03'=@{'intranet\sql03Admin'='PASSWORD'} 'SQL04'=@{'intranet\sql04Admin'='PASSWORD'} } $tSql=" --Update the Setting with a new value: USE…

How to Set Default UTF-8 encoding for New Notepad Documents When Saving File

Part 1: Set Default UTF-8 encoding for New Notepad Documents When Saving File for Legacy…