I was asked how to create a NIC team only using the 1GB adapters without knowing how many 1gb NICs were on the server.
I think this should solve the problem
New-NetLbfoTeam -TeamMembers (Get-NetAdapter | where Speed -ge 1gb | select -ExpandProperty Name) -Name MyTeam
Use New-NetLbfoTeam to create the team. The team member names are generated by
Get-NetAdapter | where Speed -ge 1gb | select -ExpandProperty Name
By putting that statement in parentheses as the value for the –TeamMembers parameter the results are used as the value for the parameter. Shouldn’t matter now how many NICs or what they are called. You can modify the filter criteria as required.