GSEC · Question #240
You work as a Network Administrator for McRobert Inc. You want to know the NetBIOS name of your computer. Which of the following commands will you use?
The correct answer is C. NBTSTAT -n. The NBTSTAT -n command displays the local NetBIOS name table, which lists the NetBIOS names registered by the local computer.
Question
You work as a Network Administrator for McRobert Inc. You want to know the NetBIOS name of your computer. Which of the following commands will you use?
Options
- ANETSTAT -s
- BNBTSTAT -s
- CNBTSTAT -n
- DNETSTAT -n
How the community answered
(19 responses)- A16% (3)
- B5% (1)
- C79% (15)
Why each option
The NBTSTAT -n command displays the local NetBIOS name table, which lists the NetBIOS names registered by the local computer.
NETSTAT -s displays per-protocol statistics (TCP, UDP, ICMP) for IP networking and has no knowledge of NetBIOS names.
NBTSTAT -s displays the current NetBIOS sessions (active connections to remote machines), not the local computer's NetBIOS name.
NBTSTAT is the Windows command-line tool for displaying NetBIOS over TCP/IP statistics and name tables. The -n switch specifically lists the local NetBIOS names registered by the computer, including the machine name, workgroup, and services, making it the correct command to find a computer's NetBIOS name.
NETSTAT -n displays active TCP/IP connections using numeric IP addresses instead of resolving hostnames, and does not interact with NetBIOS naming.
Concept tested: NBTSTAT command for local NetBIOS name lookup
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nbtstat
Topics
Community Discussion
No community discussion yet for this question.