A: Nearly everything in Windows Server 2012 can be accomplished in Windows PowerShell, including creating a new NIC team by using the New-NetLBFOTeam PowerShell cmdlet. However, a confirmation prompt is displayed:

PS C:\> New-NetLbfoTeam -Name TestTeam -TeamMembers NICTeam1,NICTeam2 -Confirm<br><br>
Confirm<br>
Are you sure you want to perform this action?<br>
Creates Team:'TestTeam' with TeamMembers:{'NICTeam1', 'NICTeam2'}, TeamNicName:'TestTeam',<br>
TeamingMode:'SwitchIndependent' and LoadBalancingAlgorithm:'TransportPorts'.<br>
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): <strong>N</strong>

The solution is to use -Confirm:$False. For example:

<p>PS C:\> New-NetLbfoTeam -Name TestTeam -TeamMembers NICTeam1,NICTeam2 -Confirm:$False </p><p>Name : TestTeam Members : {NICTeam2, NICTeam1} TeamNics : TestTeam TeamingMode : SwitchIndependent LoadBalancingAlgorithm : TransportPorts Status : Up</p>

To check the name of adapters to use with the New-NetLbfoTeam cmdlet use the Get-NetAdapter cmdlet.

PS C:\> <strong>Get-NetAdapter</strong> Name InterfaceDescription ifIndex Status MacAddress LinkSpeed ---- -------------------- ------- ------ ---------- --------- TestTeam Microsoft Network Adapter Multiplexo... 49 Up 00-1F-D0-D6-DB-C8 2 Gbps NICTeam2 Realtek PCIe GBE Family Controller #2 16 Up 00-1F-D0-D6-DB-C8 1 Gbps Mgmt NIC Intel(R) Gigabit CT Desktop Adapter 15 Up 00-1B-21-53-8C-7B 1 Gbps NICTeam1 Realtek PCIe GBE Family Controller 14 Up 00-1F-D0-81-36-77 1 Gbps Cluster NIC Intel(R) PRO/1000 PT Dual Port Ser...#2 13 Up 00-15-17-3A-4E-B7 1 Gbps LM NIC Intel(R) PRO/1000 PT Dual Port Serve... 12 Up 00-15-17-3A-4E-B6 1 Gbps