PowerShell Logo Small

Set-NetAdapterBinding



This is the built-in help made by Microsoft for the command 'Set-NetAdapterBinding', 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

Sets the binding state of a transport or filter on a network adapter.

SYNTAX


Set-NetAdapterBinding [-Name] <String[]> [-AllBindings] [-AsJob] [-CimSession <CimSession[]>] [-ComponentID <String[]>] [-DisplayName <String[]>] [-Enabled <Boolean>]
[-IncludeHidden] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetAdapterBinding [-AllBindings] [-AsJob] [-CimSession <CimSession[]>] [-ComponentID <String[]>] [-DisplayName <String[]>] [-Enabled <Boolean>] [-IncludeHidden]
[-PassThru] [-ThrottleLimit <Int32>] -InterfaceDescription <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetAdapterBinding [-AsJob] [-CimSession <CimSession[]>] [-Enabled <Boolean>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetAdapterBinding cmdlet sets the binding state of a transport or filter on a network adapter. By default only visible bindings are set unless the AllBindings
parameter is specified. If only enabling or disabling bindings, then the Enable-NetAdapterBinding or Disable-NetAdapterBinding cmdlets can be used. Note: Disabling and
enabling a network adapter binding can automatically enable or disable other network adapter bindings.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287420
Disable-NetAdapterBinding
Enable-NetAdapterBinding
Get-NetAdapterBinding

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-NetAdapterBinding -Name MyAdapter -DisplayName "Internet Protocol Version 4 (TCP/IPv4)" -Enabled $true



This example enables TCP/IPv4 on the network adapter named MyAdapter.




EXAMPLE 2

PS C:\>Set-NetAdapterBinding -Name MyAdapter -DisplayName "Internet Protocol Version 4 (TCP/IPv4)" -Enabled $false


This is a version of the cmdlet that disables TCP/IPv4 on the network adapter named MyAdapter using wildcard characters in the display name.
PS C:\>Set-NetAdapterBinding -Name MyAdapter -DisplayName "Inter* (TCP/IPv4)" -Enabled $false



This example disables TCP/IPv4 on the network adapter named MyAdapter.




EXAMPLE 3

PS C:\>Set-NetAdapterBinding -Name MyAdapter -ComponentID ms_tcpip -Enabled $true



This example enables TCPv4/IPv4 on the network adapter named MyAdapter using the component ID.