PS C:\> nltest /trusted_domains
List of domain trusts:
0: GS gs.com (NT 5) (Direct Outbound) (Direct Inbound) ( Attr: 0x8 )
1: CONTOSO contoso.com (NT 5) (Forest Tree Root) (Primary Domain) (Native)
The command completed successfully
PS C:\> nltest /dclist:contoso
Get list of DCs in domain 'contoso' from '\\WIN-5Q4IM0060DO'.
WIN-5Q4IM0060DO.contoso.com [PDC] [DS] Site: IND-BLR
PS C:\> nltest /dclist:contoso Get list of DCs in domain 'contoso' from '\\WIN-5Q4IM0060DO'. WIN-5Q4IM0060DO.contoso.com [PDC] [DS] Site: IND-BLR The command completed successfully
C:\>nltest /server:test1 /sc_query:microsoft
Flags: 0
Connection Status = 0 0x0 NERR_Succmicrosoft
Trusted DC Name \\NET1
Trusted DC Connection Status Status = 0 0x0 NERR_Succmicrosoft
The command completed succmicrosoftfully
C:\>nltest /server:test2 /sc_query:microsoft
C:\>nltest /server:Computer1 /sc_query:contoso
Trusted DC Name \\TEST2
PS C:\> nltest /whowill:contoso biz [11:06:22] Mail message 0 sent successfully (\MAILSLOT\NET\GETDC834) [11:06:22] Response 0: NetpDcAllocateCacheEntry: new entry 0x000000D83F9ADBD0 -> DC:WIN-5Q4IM0060DO DnsDomName:(null) Flags:0x0 S:WIN-5Q4IM0060DO D:CONTOSO A:biz (Act found) The command completed successfully
PS C:\> nltest /whowill:contoso biz [11:06:22] Mail message 0 sent successfully (\MAILSLOT\NET\GETDC834) [11:06:22] Response 0: NetpDcAllocateCacheEntry: new entry 0x000000D83F9ADBD0 -> DC:WIN-5Q4IM0060DO DnsDomName:(null) Flags:0x0
PS C:\> nltest /whowill:contoso biz
[11:06:22] Mail message 0 sent successfully (\MAILSLOT\NET\GETDC834)
[11:06:22] Response 0: NetpDcAllocateCacheEntry: new entry 0x000000D83F9ADBD0 -> DC:WIN-5Q4IM0060DO DnsDomName:(null) Flags:0x0
S:WIN-5Q4IM0060DO D:CONTOSO A:biz (Act found)
PS C:\> nltest /dnsgetdc:contoso
.
com
List
of
DCs
in
pseudo-random order taking into account SRV priorities
and
weights:
Non-Site specific:
win-5q4im0060do
contoso
com fe80::e0a8:9c56:ba17:df5d%
12
10.224.34.1
PS C:\> nltest /dnsgetdc:gs
ban-dc01
gs
10.224.34.10
PS C:\> 9.Determine the failures for all DC-specific DNS records PS C:\> nltest /DSQUERYDNS Flags: 0 Connection Status = 0 0x0 NERR_Success There was no failure in the last update for all DC-specific DNS records The command completed successfully
PS C:\> nltest /DSQUERYDNS
Connection Status = 0 0x0 NERR_Success
There was no failure in the last update for all DC-specific DNS records
nltest /sc_reset:<domainname>
nltest /sc_reset:<
domainname
>