Get Netlogon NoClientSite errors remotely

Hello,

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

http://gallery.technet.microsoft.com/Get-Netlogon-NoClientSite-fac9f6ce

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