< Back
Get-VDUplinkTeamingPolicy
Post
NAME Get-VDUplinkTeamingPolicy
SYNOPSIS
This cmdlet retrieves the uplink teaming policy for distributed ports.
SYNTAX
Get-VDUplinkTeamingPolicy [-Server <VIServer[]>] -VDPortgroup <VDPortgroup[]> [<CommonParameters>]
Get-VDUplinkTeamingPolicy [-Server <VIServer[]>] -VDSwitch <VDSwitch[]> [<CommonParameters>]
Get-VDUplinkTeamingPolicy -VDPort <VDPort[]> [<CommonParameters>]
DESCRIPTION
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.
PARAMETERS
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this
parameter, the command runs on the default servers. For more information about default servers, see the
description of Connect-VIServer.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-VDPort <VDPort[]>
Specifies the distributed port for which you want to retrieve the uplink teaming policy.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-VDPortgroup <VDPortgroup[]>
Specifies a distributed port group for which you want to retrieve the default uplink teaming policy.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-VDSwitch <VDSwitch[]>
Specifies a vSphere distributed switch for which you want to retrieve the default uplink teaming policy.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
One or more UplinkTeamingPolicy objects
NOTES
-------------------------- 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 LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... olicy.html
Set-VDUplinkTeamingPolicy
SYNOPSIS
This cmdlet retrieves the uplink teaming policy for distributed ports.
SYNTAX
Get-VDUplinkTeamingPolicy [-Server <VIServer[]>] -VDPortgroup <VDPortgroup[]> [<CommonParameters>]
Get-VDUplinkTeamingPolicy [-Server <VIServer[]>] -VDSwitch <VDSwitch[]> [<CommonParameters>]
Get-VDUplinkTeamingPolicy -VDPort <VDPort[]> [<CommonParameters>]
DESCRIPTION
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.
PARAMETERS
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this
parameter, the command runs on the default servers. For more information about default servers, see the
description of Connect-VIServer.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-VDPort <VDPort[]>
Specifies the distributed port for which you want to retrieve the uplink teaming policy.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-VDPortgroup <VDPortgroup[]>
Specifies a distributed port group for which you want to retrieve the default uplink teaming policy.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-VDSwitch <VDSwitch[]>
Specifies a vSphere distributed switch for which you want to retrieve the default uplink teaming policy.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
One or more UplinkTeamingPolicy objects
NOTES
-------------------------- 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 LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... olicy.html
Set-VDUplinkTeamingPolicy