klumsy
klumsy

Reputation: 4271

How do you retrieve a list of bound protocols to a network adapter? (in PowerShell or any language )

So in the windows UI, if you right click on a network adapter you see a properties page that has a section labeled "This connection uses the following items" and in this property page is a list of items with a check box beside them such as

etc

I want to programatically get this list, and know whether that protocol is bound (the checkbox) is checked.

i can't seem to find any WMI class that shows this, and the closest i've seen is a primitive come interface INetCfg

Upvotes: 3

Views: 1811

Answers (1)

Andy Schneider
Andy Schneider

Reputation: 8684

Its not native PowerShell but there is a tool called nvsbind.exe that was written by someone on the hyper-v team so you can do these operations in Server Core. You can find here

http://archive.msdn.microsoft.com/nvspbind

Upvotes: 2

Related Questions