PowerShell Logo Small

Remove-NetLbfoTeam



This is the built-in help made by Microsoft for the command 'Remove-NetLbfoTeam', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes the specified NIC team from the host.

SYNTAX


Remove-NetLbfoTeam [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetLbfoTeam [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NetLbfoTeam cmdlet removes the specified NIC team from the host. This cmdlet disconnects all associated team members and providers from the team. You can specify
the team to remove by using either a team object retrieved by Get-NetLbfoTeam, or by specifying a team name.


You can use Remove-NetLbfoTeam to remove all NIC teams from the server.


You need administrator privileges to use Remove-NetLbfoTeam.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=294340
New-NetLbfoTeam
Get-NetLbfoTeam
Set-NetLbfoTeam
Rename-NetLbfoTeam

REMARKS

<

Examples


Example 1: Remove a team

PS C:\> Remove-NetLbfoTeam -Name Team1



This command removes the team named Team1.




Example 2: Remove a team using a team object

PS C:\> $team = Get-NetLbfoTeam -Name Team1
PS C:\> Remove-NetLbfoTeam -InputObject $team



This set of commands retrieves a team object into a variable $team using Get-NetLbfoTeam, and then passes the variable to Remove-NetLbfoTeam.




Example 3: Remove all teams from the server

PS C:\> Get-NetLbfoTeam | Remove-NetLbfoTeam



This command retrieves all the teams from the server using Get-NetLbfoTeam cmdlet and then sends all the retrieved teams to Remove-NetLbfoTeam which removes the teams.