# Windows Command Line – List Network Adapter Components

I'm looking for a way to, in a batch file, get a list of the components (such as NDIS drivers) in use by each network adapter on the system. Here's a screenshot of the info I want in the network adapter properties:

I have looked through a lot of the data I can get from WMIC, and while I can find a lot of network adapter information I'm not able to find exactly what I'm looking for.

Is anyone aware of a way to get this information from the regular Windows command line without using third-party utilities?

Powershell:

Get-NetAdapterBinding -IncludeHidden -AllBindings


VBScript (using WMI):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\StandardCimv2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM MSFT_NetAdapterBindingSettingData",,48)
Wscript.Echo "Name,DisplayName,ComponentId,Enabled"
For Each objItem in colItems
Wscript.Echo objItem.Name & "," & objItem.DisplayName & "," & objItem.ComponentId & "," & objItem.Enabled
Next


WMIC:

wmic /namespace:\\root\StandardCimv2 Path MSFT_NetAdapterBindingSettingData Get Name,DisplayName,ComponentId,Enabled