WMI Network Adapter Name

Joined
Sep 17, 2010
Messages
1
Reaction score
0
Hello,

I'm writing an HTA using WMI for inventory purposes. I'm having a problem with getting the name of the Network Adapter. Here is the relevant code.

Code:
colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter");
	e = new Enumerator(colItems);
	for(; ! e.atEnd(); e.moveNext())
	{
		document.form1.net_nic.value=e.item().Manufacturer + " " + e.item().Name;
	}


What that returns is "Symantec Teefer2 Miniport" which is obviously not the NIC. We are using Symantec Endpoint but I don't understand why that is being returned instead of the correct information. Any help would be wonderful

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top