Anywhere but a sandy beach

Which of these commands will display NetBIOS names from SERVER1?

A) netstat -A server1

B) nbtstat -n server1

C) nbtstat -a server1

D) ipconfig -A server1

E) nbstat -a server1

F) I think my keyboard needs a vacation

The answer: C) nbtstat -a server1

The nbtstat command with the lowercase -a option will query a hostname. Using the uppercase -A option allows you to query a device by IP address.

Want to know more? Watch “Network Troubleshooting at the Command Line.”

A large portion of network troubleshooting can be done at the command line. In this video, you’ll learn how to use the ping, ipconfig, tracert, netstat, nbtstat, and net commands.