Check 'Allow management operating system to share this network adapter'

Sep 24, 2009 at 7:34 AM

When you are creating a external switch from the UI of hyper-v manager, there is a check box 'Allow management operating system to share this network adapter',

by checking it,  the external network to be created will share the NIC with the host, by unchecking it, the external network to be created will have a exclusive use to the bound NIC.

My question is how can we use powershell to check or uncheck it?

I found if we just invoke the function New-VMExternalSwitch, by default this option is checked.

 

 

Any input will be greatly appreciated.

Coordinator
Oct 31, 2009 at 5:55 PM

In R2 there is a command Remove-VMSwitchNic which will leave the Switch bound to the external network but remove the virtual NIC connected to it in the host OS.  At the moment I don't have a way to create the switch without the NIC in the host OS, So you need to allow it to be created an then remove it.