Domain Controller Service Health
Posted by: Richard Siddaway
The correct functioning of our AD domains depends on the services that are running on our domain controllers
A quick test for the services that could affect AD
function test-dcServiceHealth { [CmdletBinding()] param ( [string]$computername=$env:COMPUTERNAME ) "ADWS", "Dfs", "DFSR", "DNS", "IsmServ", "kdc", "Netlogon", "NtFrs", "W32Time", "WinRM" | foreach { Get-WmiObject -Class Win32_Service -Filter "Name = '$($_)'"-ComputerName $computername | select Name, DisplayName, State, @{N="DC";E={$computername}} } }
One service that is missing is the AD Domain Service for Windows 2008 R2. That doesn’t seem to show through WMI or Get-Service. I’m still investigating though if DNS and kdc are running they are both dependent on NTDS so it has to be running



You must be logged-in to post a comment. Log-in/Register