Get-VDUplinkTeamingPolicy
This cmdlet retrieves the uplink teaming policy for distributed ports. For distributed port group and vSphere distributed switch parameter sets, the default port policy at the distributed port group or switch level is retrieved.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VDPort | VDPort[] | named |
|
Specifies the distributed port for which you want to retrieve the uplink teaming policy. |
optional | ProgressAction | ActionPreference | named |
|
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VDPortgroup | VDPortgroup[] | named |
|
Specifies a distributed port group for which you want to retrieve the default uplink teaming policy. |
optional | ProgressAction | ActionPreference | named |
|
|
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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VDSwitch | VDSwitch[] | named |
|
Specifies a vSphere distributed switch for which you want to retrieve the default uplink teaming policy. |
optional | ProgressAction | ActionPreference | named |
|
|
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.UplinkTeamingPolicyExamples
Example 1
Get-VDSwitch "MyVDSwitch" | Get-VDUplinkTeamingPolicy
Retrieves the uplink teaming policy of a vSphere distributed switch named "MyVDSwitch".
Example 2
Get-VDPortgroup "MyVDPortgroup" | Get-VDPort | Get-VDUplinkTeamingPolicy
Retrieves the uplink teaming policy of all ports inside a distributed port group named "MyVDPortgroup".
Related Commands
VDUplinkLacpPolicy
This cmdlet retrieves the Link Aggregation Control Protocol policy for uplink ports.
This cmdlet modifies the Link Aggregation Control Protocol policy for uplink ports.
VDUplinkTeamingPolicy
This cmdlet retrieves the uplink teaming policy for distributed ports.
This cmdlet modifies the uplink teaming policy for distributed ports.