220-1102 · Question #115
A user is being directed by the help desk to look up a Windows PC's network name so the help desk can use a remote administration tool to assist the user. Which of the following commands would allow…
The correct answer is A. ipconfig /all B. hostname. To find a Windows PC's network name for remote administration, a user can use either ipconfig /all to display comprehensive network configuration including the host name, or simply hostname to output just the computer's name.
Question
A user is being directed by the help desk to look up a Windows PC's network name so the help desk can use a remote administration tool to assist the user. Which of the following commands would allow the user to give the technician the correct information? (Select TWO).
Options
- Aipconfig /all
- Bhostname
- Cnetstat /?
- Dnslookup localhost
- Earp --a
- Fping :: 1
How the community answered
(26 responses)- A92% (24)
- E4% (1)
- F4% (1)
Why each option
To find a Windows PC's network name for remote administration, a user can use either ipconfig /all to display comprehensive network configuration including the host name, or simply hostname to output just the computer's name.
The ipconfig /all command displays a full network configuration for all adapters, which includes the Host Name (computer name) of the Windows PC, along with IP addresses and MAC addresses. This command provides comprehensive details helpful for network troubleshooting and identification.
The hostname command is specifically designed to display the name of the host system, which is the network name of the Windows PC. This provides the exact information the technician needs in a concise manner.
netstat /? displays help information for the netstat command, which is used to show network connections, routing tables, and interface statistics, not the computer's name.
nslookup localhost attempts to resolve localhost to its IP address using DNS, which will typically return 127.0.0.1 and does not reveal the computer's network name.
arp -a (or arp --a) displays the ARP cache, showing IP-to-MAC address mappings of devices communicated with, not the local computer's network name.
ping ::1 tests connectivity to the IPv6 loopback address and does not provide information about the computer's network name.
Concept tested: Identifying Windows computer name via command line
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/hostname
Topics
Community Discussion
No community discussion yet for this question.