external help file | Module Name | online version | schema |
---|---|---|---|
NetLbfo_Cmdlets.xml |
NetLbfo |
2.0.0 |
Retrieves a list of NIC teams on the system, as specified by the input parameters.
Get-NetLbfoTeam [[-Name] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
Get-NetLbfoTeam [-AsJob] [-CimSession <CimSession[]>] [-TeamNicForTheTeam <CimInstance>]
[-ThrottleLimit <Int32>]
Get-NetLbfoTeam [-AsJob] [-CimSession <CimSession[]>] [-MemberOfTheTeam <CimInstance>] [-ThrottleLimit <Int32>]
The Get-NetLbfoTeam cmdlet retrieves the list of all available NIC teams on the system.
You can retrieve the list of NIC teams by specifying the name or name pattern of the team. You can also use Get-NetLbfoTeam to retrieve the team associated with a team interface or a team member (network adapter).
PS C:\>Get-NetLbfoTeam -Name Team1
This command retrieves a NIC team named Team1.
PS C:\>Get-NetLbfoTeam -Name T*| Remove-NetLbfoTeam
This command retrieves the list of teams whose name starts with T using Get-NetLbfoTeam. A pipeline operator (|) sends all the teams to Remove-NetLbfoTeam which removes them.
PS C:\>Get-NetLbfoTeamMember NIC1 | Get-NetLbfoTeam
Or
PS C:\>$mObj = Get-NetLbfoTeamMember NIC1
PS C:\>Get-NetLbfoTeam -MemberOfTheTeam $mObj
This command retrieves the NIC team associated with a particular member network adapter named NIC1 using Get-NetLbfoTeam.
PS C:\>Get-NetLbfoTeamNic 'Team1 - VLAN 42' | Get-NetLbfoTeam
Or
PS C:\>$tNicObj = Get-NetLbfoTeamNic 'Team1 - VLAN 42'
PS C:\>Get-NetLbfoTeam -TeamNicForTheTeam $tNicObj
This command retrieves the NIC team associated with a particular team interface named Team1 - VLAN 42 using Get-NetLbfoTeam.
ps_cimcommon_asjob
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227967 or Get-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227966 cmdlet. The default is the current session on the local computer.
Type: CimSession[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the member network adapter name to retrieve the associated NIC team.
Type: CimInstance
Parameter Sets: UNNAMED_PARAMETER_SET_3
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the name (or name wildcard pattern) of the NIC team for which to retrieve information.
Type: String[]
Parameter Sets: UNNAMED_PARAMETER_SET_1
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True
Specifies the team interface to retrieve the associated NIC team.
Type: CimInstance
Parameter Sets: UNNAMED_PARAMETER_SET_2
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
If this parameter is omitted or a value of 0
is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet takes no input objects.
This cmdlet returns an array of MSFT_NetLbfoTeam objects containing the teams that match the query.