Set-VDPortgroupOverridePolicy
This cmdlet modifies the policy for overriding port group settings at port level. At least one of the Bool parameters must be specified.
Syntax
[-BlockOverrideAllowed <Boolean>]
[-ResetPortConfigAtDisconnect <Boolean>]
[-SecurityOverrideAllowed <Boolean>]
[-TrafficShapingOverrideAllowed <Boolean>]
[-UplinkTeamingOverrideAllowed <Boolean>]
[-VlanOverrideAllowed <Boolean>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
VDPortgroupOverridePolicy[] | 1 |
|
Specifies the port group overriding policy that you want to configure. | optional |
|
Boolean | named |
|
Specifies whether overriding port blocking settings is allowed. | optional |
|
Boolean | named |
|
Specifies whether the port configuration is reset when the port is disconnected. | optional |
|
Boolean | named |
|
Specifies whether overriding security settings is allowed. | optional |
|
Boolean | named |
|
Specifies whether overriding traffic shaping settings is allowed. | optional |
|
Boolean | named |
|
Specifies whether overriding uplink teaming settings is allowed. | optional |
|
Boolean | named |
|
Specifies whether overriding VLAN settings is allowed. |
Output
VMware.VimAutomation.Vds.Types.V1.Policy.VDPortgroupOverridePolicy
Examples
Example 1
Retrieves a distributed port group named "MyVDPortgroup" and updates its overriding policy to allow the port blocking settings to override the default settings at port group level.
Example 2
Retrieves all port groups inside a distributed switch named "MyVDSwitch" and updates their overriding policies with the options to override the traffic shaping setting at port level, and to reset the distributed port network settings back to the port group settings.
Related Commands
VDPort
VDPortGroup
VDPortgroup