Get-VDPortgroupOverridePolicy Command | Vmware PowerCLI Reference

Get-VDPortgroupOverridePolicy

This cmdlet retrieves the policy for overriding port group settings at port level.

Syntax

Get-VDPortgroupOverridePolicy
-VDPortgroup < VDPortgroup[] >
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VDPortgroup VDPortgroup[] named
  • pipeline
Specifies a distributed port group for which you want to retrieve the default port group overriding policy.
optional Server VIServer[] named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.

Output

VMware.VimAutomation.Vds.Types.V1.Policy.VDPortgroupOverridePolicy

Examples

Example 1

Get-VDPortgroup "MyVDPortgroup" | Get-VDPortgroupOverridePolicy

Retrieves the overriding policy settings of a distributed port group named "MyVDPortgroup".

Related Commands

VDPort

This cmdlet retrieves virtual distributed ports.

This cmdlet modifies the configuration of virtual distributed ports.

VDPortGroup

This cmdlet exports the configuration of a specified distributed port group to a specified .zip file.

This cmdlet removes distributed port groups.

VDPortgroup

This cmdlet retrieves distributed port groups.

This cmdlet creates distributed port groups.

This cmdlet modifies the configuration of distributed port groups.

VDPortgroupOverridePolicy

This cmdlet retrieves the policy for overriding port group settings at port level.

This cmdlet modifies the policy for overriding port group settings at port level.