Skip to main content

Using nbtstat to Find a Computer Name

Have you ever wanted to know what computer belongs to what IP address?

This information can come in very handy when trying to troubleshoot network issues or see if there are devices on your network that don't belong there.

Just knowing the IP address of a device on your network may not be enough information to figure out what you need to know.

Sure you can ping an IP address but that only tells you if there is connectivity.

Sometimes you can use the -a switch with the ping command and see if you get lucky and it resolves the IP address to a name.

Another command line utility you can use to help you in your quest for finding the computer name associated with an IP address is the DOS command nbtstat to find NetBIOS computer names if you use NetBIOS on your network.

Just open a command prompt by going to Start, Run then type in cmd and click OK. Here are the available switches you can use with the nbtstat command.

The one you want to use to find the host name associated with the IP address is nbtstat –a followed by the IP address. In the following example you can see 192.168.1.2 is the IP address, Jim is the computer name and WORKGROUP is the workgroup name.
_________________________

Comments

Popular posts from this blog

What is SQL ?

SQL (Structured Query Language) is a standardized programming language used for managing relational databases and performing various operations on the data in them. Initially created in the 1970s, SQL is regularly used by database administrators, as well as by developers writing data integration scripts and data analysts looking to set up and run analytical queries. The uses of SQL include modifying database table and index structures; adding, updating and deleting rows of data; and retrieving subsets of information from within a database for transaction processing and analytics applications.  Queries and other SQL operations take the form of commands written as statements -- commonly used SQL statements include select, add, insert, update, delete, create, alter and truncate. _________________________

Uses of C programming Language:

The C programming language is used for developing system applications that forms a major portion of operating systems such as Windows, UNIX and Linux. Below are some examples of C being used. Database systems Graphics packages Word processors Spreadsheets Operating system development Compilers and Assemblers Network drivers Interpreters _________________________