Get Netlogon NoClientSite errors remotely


I posted a function on Technet today to get netlogon NoClientSite errors remotely :

This function retrieve the “Netlogon.log” on the specified domain controllers, parse it, filter it, and output it as an object.

Thanks to that log, you can know wich computer with wich IPAddress does not belong to any Active Directory Site. You’ll need that information if you need to optimize your logon process/architecture.

Exemples :

  • Get-NetlogonNoClientSiteError -DCName DC1 -Verbose | Out-GridView
  • [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain().DomainControllers | Select-Object -ExpandProperty Name | Get-NetlogonNoClientSiteError -Verbose | Out-GridView
  • Get-Content .computers.txt | Get-NetlogonNoClientSiteError

Help : Get-Help Get-NetlogonNoClientSiteError -Full

Prerequisites :

  • PowerShell 2.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.