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: Script to Apply Windows Update on 2016 Server

8/7/2020: there's a more updated version available here. # Update-Remote-Windows-2016-Servers.ps1$servers="SERVER1","SERVER2"function applyWindowsUpdates{ [CmdletBinding()] param ( [parameter(Mandatory=$true,Position=1)]…

PowerShell: Check Servers on Domain to Locate A Domain Account Being Set to Run Services and Scheduled Tasks

# Obtain the name of the default domain Administrator account (this account is expected to…

Virtual Machine Manager (VMM) Error ID: 1730

Symptom: $vmName='bad-guestvm' $vm = Get-SCVirtualMachine -Name $vmName Read-SCVirtualMachine -VM $vm Read-SCVirtualMachine : The selected action…
Other project: DragonCoin.com