title: VMWARE ESXi - Untick "Override" programmatically
body: <p><a href="https://i.stack.imgur.com/EXF1b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EXF1b.png" alt="enter image description here" /></a></p>
  <p>This is one of the Networks attached to vSwitch0.
  I'd like to untick &quot;Override&quot; as I'd like for it to inherit from the main settings. The thing is I have a few dozens of those and I want to do it via a script. I was not able to find how to do it via ESXCLI. The override occures when you create characteristics for the portgroup, see the following 2 commented out.</p>
  <pre><code>esxcli network vswitch standard portgroup add --portgroup-name=Grid --vswitch-name=vSwitch0
  esxcli network vswitch standard portgroup set --portgroup-name=Grid --vlan-id 123
  #esxcli network vswitch standard portgroup policy failover set --portgroup-name=Grid --active-uplinks=vmnic0,vmnic2
  #esxcli network vswitch standard portgroup policy failover set --portgroup-name=Grid -l portid
  </code></pre>
  <p>I really dont want to re-create everything. There must be a way to untick those boxes.</p>