
To list out all the network devices/adapters, type the following command in command prompt (with Administrative Permissions) –

Before WMIC, you used WMI-based applications (such as SMS), the WMI Scripting API, or tools such as CIM Studio to manage WMI-enabled computers. WMIC extends WMI for operation from several command-line interfaces and through batch scripts. Windows Management Instrumentation Command-line (WMIC), which uses the power of Windows Management Instrumentation (WMI) to enable systems management from the command line. Enable/Disable Network Connection with WMIC

However, because it uses a system for addressing nodes, it is also a Layer 2 device. Because NIC is a physical connecting device, providing a user with network access, it is a Layer 1 device. NIC cards operate at Layers 1 and 2 of the OSI reference model. Often the name may be a reference to technology the NIC is supporting (i.e., an Ethernet card). An NIC is commonly referred to as an NIC card, LAN card, LAN adapter, network card, network adapter, Ethernet adapter, and a few other names.

The network interface controller (NIC) is a hardware card that allows a PC to participate in passing and receiving data on a network.
