PowerShell Script to Detect If NIC Supports Win8 Network Kernel Debugging

So you’ve tried USB cable debugging and the nightmarish hell that is (or were smart & didn’t try). And your PCs no longer have serial ports. (And yes it’s too slow) So thankfully we finally get network based kernel debugging! Hopefully your network card is supported! Based on list published on MSDN here: http://msdn.microsoft.com/en-us/library/windows/hardware/hh830880

And based on vendor IDs published here http://www.pcidatabase.com

So first I map the vendors to their vendor IDs

Vendor Name Vendor ID
Realtek 0x10EC
Intel 0x8086
Broadcom 0x14E4

I then enumerate the network interface cards using Get-NetAdapter and retrieve the Vendor ID and Device ID from the ComponentID field.

This is probably not an ideal way; as if they update the list this script will not work correctly without an update. But for now it’s easier than checking against the online list of supported network cards.

Download script here http://www.tiange.com.au/NetworkTest.zip

In action:

image

About chentiangemalc

specializes in end-user computing technologies. disclaimer 1) use at your own risk. test any solution in your environment. if you do not understand the impact/consequences of what you're doing please stop, and ask advice from somebody who does. 2) views are my own at the time of posting and do not necessarily represent my current view or the view of my employer and family members/relatives. 3) over the years Microsoft/Citrix/VMWare have given me a few free shirts, pens, paper notebooks/etc. despite these gifts i will try to remain unbiased.
This entry was posted in Debugging, PowerShell, Windows 8 and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s