A TCP/IP utility that displays current TCP/IP connections and statistics using NetBIOS over TCP/IP (NetBT). Nbtstat is installed on a computer running Microsoft Windows when the TCP/IP protocol stack is installed.
You can run nbtstat from the command prompt to view NetBT statistics on the computer and determine the status of connections formed to the machine.
You can also use nbtstat to preload #PRE entries in an Lmhosts file into the NetBIOS name cache and view the NetBIOS name and NetBIOS scope ID of a machine.
nbtstat -n shows the NetBIOS names of the host that have been registered on the system; nbtstat -c displays the current contents of the NetBIOS name cache, which contains NetBIOS name to IP address mappings for other hosts on the network.
Nbtstat is useful for troubleshooting NetBIOS name resolution problems. You can run nbtstat -a < ComputerName > to obtain the local NetBIOS name table on <ComputerName> and its MAC address.