nerdexam
CompTIA

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.

Networking

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)
  • A
    5% (2)
  • B
    3% (1)
  • C
    90% (35)
  • D
    3% (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.

Aipconfig

ipconfig without the /all flag shows only IP address, subnet mask, and default gateway - it does not display the MAC address.

Bifconfig

ifconfig is a Linux and Unix command and does not exist natively in Windows Command Prompt.

Cipconfig /allCorrect

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.

Difconfig -a

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

#ipconfig /all#MAC address#Windows commands#network diagnostics

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice