Script/Commands | Find your local AD server

· 1 min read Human-written

Pretty neat script/commands if you need to find your attached AD/DC server(s).

C:\> nslookup
> set types=all
> _ldap._tcp.<<your.AD.domain>>
_ldap._tcp.<<your.AD.domain>>  SRV service location:
  priority       = 0
  weight         = 100
  port           = 389
  svr hostname   = <<ldap.hostname>>.<<your.AD.domain>>