220-802 · Question #830
A user needs to find the MAC address for a Windows computer. Which of the following is the correct command?
The correct answer is C. ipconfig /all. The ipconfig /all command in Windows displays full network adapter details including the physical MAC address (listed as Physical Address) for each adapter.
Question
A user needs to find the MAC address for a Windows computer. Which of the following is the correct command?
Options
- Aipconfig
- Bifconfig
- Cipconfig /all
- Difconfig -a
How the community answered
(39 responses)- A5% (2)
- B3% (1)
- C90% (35)
- D3% (1)
Why each option
The ipconfig /all command in Windows displays full network adapter details including the physical MAC address (listed as Physical Address) for each adapter.
ipconfig without the /all flag shows only IP address, subnet mask, and default gateway - it does not display the MAC address.
ifconfig is a Linux and Unix command and does not exist natively in Windows Command Prompt.
Running ipconfig /all in the Windows Command Prompt outputs detailed information for every network interface, including the Physical Address field which contains the 48-bit MAC address in hexadecimal notation. The basic ipconfig command omits this detail, so the /all flag is required. This is the standard method for identifying a MAC address on a Windows system.
ifconfig -a is also a Linux/Unix command used to show all interfaces; it is not a valid Windows command.
Concept tested: Windows command to display MAC address using ipconfig /all
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
Topics
Community Discussion
No community discussion yet for this question.