简体   繁体   中英

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

  • Client for Microsoft Networks
  • Qos Packet Scheduler
  • IP Protocol Version 6

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM