nbtstat
Windows CMD · Network · reference only
What it does
Shows NetBIOS over TCP/IP statistics and connections: names, name cache and sessions.
Syntax
nbtstat [opciones] [intervalo]
Options and parameters
-nLists the local NetBIOS names.
-a nombreShows a remote computer's name table from its name.
-A direcciónShows a remote computer's name table from its IP.
-cShows the NetBIOS name cache.
-SShows NetBIOS sessions by IP address.
-RPurges the name cache and reloads it from the LMHOSTS file.
Usage examples
nbtstat -nShows the NetBIOS names registered on this machine.
nbtstat -a PC01Queries the names of a network computer by its name.
nbtstat -A 192.168.1.20Queries a computer's names by its IP address.
nbtstat -RPurges and reloads the name cache.
Notes and common mistakes
- NetBIOS is an old protocol; on modern networks almost everything is resolved through DNS.