This is one of the Networks attached to vSwitch0. I'd like to untick "Override" 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.
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
I really dont want to re-create everything. There must be a way to untick those boxes.

you can do that with powercli:
if doing with esxcli:
first we get current settings (override is not checked)
next we run the command to set the nicorder we would like to have and check again.
this will tick the override checkbox and set the active nic to vmnic5 and stby to vmnic4
Good luck Pargit