powershell net adapter binding

Get-NetAdapterBinding | Taking on PowerShell one cmdlet at a time | Weekly Blog

Share this post:

This is a part of an on-going blog series written by Adam Gordon. Each week, Adam will walk you through a PowerShell command, showing you when and how to use each one. This week, Adam covers Get-NetAdapterBinding.

When to use Get-NetAdapterBinding

Anytime you need to get a list of the bindings for a network adapter.

NOTE: By default, only the visible bindings shown in the Networking tab under the Network Adapter properties in Windows UI are returned.


How to use Get-NetAdapterBinding

Get bindings for the specified network adapter & format the output as a list:

Get-NetAdapterBinding -Name “Wi-Fi 2” | Format-List

how to Get bindings for the specified network adapter & format the output as a list in powershell

 

Get the state of TCP/IPv4 on the specified network adapter using the display name:

Get-NetAdapterBinding -Name “Wi-Fi 2” -DisplayName “Internet Protocol Version 4 (TCP/IPv4)” | FL 

how to Get the state of TCP/IPv4 on the specified network adapter using the display name in powershell

 

Get the state of TCP/IPv4 and TCP/IPv6 on all visible network adapters using a search string:

Get-NetAdapterBinding -Name “*” -DisplayName “Internet*” 

how to Get the state of TCP/IPv4 and TCP/IPv6 on all visible network adapters using a search string in powershell

Need PowerShell training? Check out ITProTV’s PowerShell online IT training courses.