SK0-003 · Question #387
Which of the following is the BEST command to use when determining the computer name of a remote Windows computer, when only the IP address is known?
The correct answer is B. nbtstat -a. To determine the computer name of a remote Windows computer using only its IP address, the nbtstat -a command is the most effective.
Question
Which of the following is the BEST command to use when determining the computer name of a remote Windows computer, when only the IP address is known?
Options
- Anetstat -e
- Bnbtstat -a
- Cnbtstat -e
- Dnetstat -a
How the community answered
(31 responses)- B94% (29)
- C3% (1)
- D3% (1)
Why each option
To determine the computer name of a remote Windows computer using only its IP address, the `nbtstat -a` command is the most effective.
`netstat -e` displays Ethernet statistics on the local computer and does not provide functionality to resolve a remote IP address to a computer name.
The `nbtstat` command is used to display NetBIOS over TCP/IP protocol statistics, and the `-a` option specifically queries a remote computer by its IP address to retrieve its NetBIOS name table. This table includes the computer's NetBIOS name.
`nbtstat -e` displays NetBIOS statistics for the local computer, such as the number of frames sent and received, but it does not resolve a remote IP to its computer name.
`netstat -a` displays all active TCP connections and listening ports on the local computer and does not resolve a remote IP address to a computer name.
Concept tested: Windows network name resolution utilities
Source: https://learn.microsoft.com/windows-server/administration/windows-commands/nbtstat
Topics
Community Discussion
No community discussion yet for this question.