DEV Community

Victor James
Victor James

Posted on • Originally published at windowscmd.com on

NBTSTAT Windows Command

NBTSTAT

NBTSTAT

The NBTSTAT windows command-line tool is to display networking statistics. To know more about this command, read further.

CMD Line

CMD Line is a text-based interface that transfers the command from the user to the OS.

CLI-Command Line Interpreter

The command-line interpreter (CLI) for windows is CMD.EXE. Also, you can use PowerShell which can automize many system administration tasks and these tasks are not approachable in command prompt. With the help of the CLI, you can communicate with your system by typing the text in commands. As a result, your system answers to the text that you have typed previously, and then the user can proceed with the next command line that shows up.

To open the Run command Window

Run command window helps you to run programs, open the files and folders. And there are several ways to open up the run command dialog box. This run command box is useful for you to head straight to the destined program easily.

By using the Keyboard shortcut Key:

WINDOWS+R

The shortcut key method to the run command box is the most commonly used one. Also, this method is in all versions of Windows. You need to press the Windows+ R key concurrently to open the Run command dialog box.

Run command box
Run command box

What does the NBTSTAT command do?

The NBTSTAT windows command-line tool is for displaying protocol statistics and current TCP/IP connections using NBT. This command is an external command.

Syntax

  • Remote name

NBTSTAT -a Remote_host_Name [options] [interval] 

Enter fullscreen mode Exit fullscreen mode
  • IP address

NBTSTAT -A IP_address [options] [interval]

Enter fullscreen mode Exit fullscreen mode

Parameter Explanation

  • -a – This key lists the remote machine’s name table, given its name
  • -A – List the remote machine’s name table, given its IP address
  • -c – List NBT’s cache of remote names and their IP addresses.
  • -n – List local NetBIOS names.
  • -r – List names resolved by broadcast and via WINS
  • -R – Purge and reloads the remote cache name table
  • -S – List sessions table with the destination IP addresses
  • -s – List sessions table, converting destination IP addresses to computer NETBIOS names.
  • -RR (ReleaseRefresh)- Sends the Name Release packets to WINS and then, starts Refresh interval Redisplay selected statistics, pausing interval seconds between each display. For to stop re displaying statistics, press Ctrl+C.

The NBTSTAT command line parameters are Case sensitive.

Examples

  • For to display the local NetBIOS name use

nbtstat /n

Enter fullscreen mode Exit fullscreen mode
  • If you want to list the remote machine’s name table, given its IP address use

nbtstat /-A

Enter fullscreen mode Exit fullscreen mode

Verdict

In this guide, we have stated the NBTSTAT windows command-line tool with its syntax and examples. Hope you find this article a useful one. Leave your valuable comments in the comment box regarding this article.

Related Articles

  • MSIEXEC The MSIEXEC windows command-line tool is a Microsoft Windows installer. This command-line tool is to install and execute actions on the Windows installer.
  • MSINFO32 The MSINFO32 windows command is for displaying the system information.
  • NBTSTAT The NBTSTAT windows command-line tool is for displaying protocol statistics and current TCP/IP connections using NBT.
  • NETSTAT The NETSTAT windows command-line tool displays the networking statistics. This command displays the current TCP/IP network connections and protocol statistics.
  • MD The MD windows command-line tool is for creating a new directory. By using this MD windows command, you can create one or multiple folders or directories.

The post NBTSTAT appeared first on Windows Commands- SS64 Commands.

Discussion (0)