Open
Description
The -Name
parameter works fine as a wildcard expression.
PS C:\WINDOWS\system32> Disable-NetAdapterBinding -Name "Ethernet*" -ComponentID ms_tcpip6 -PassThru
Name DisplayName ComponentID Enabled
---- ----------- ----------- -------
Ethernet Internet Protocol Version 6 (TCP/IPv6) ms_tcpip6 False
Ethernet 3 Internet Protocol Version 6 (TCP/IPv6) ms_tcpip6 False
Ethernet 2 Internet Protocol Version 6 (TCP/IPv6) ms_tcpip6 False
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: c25e2624-bacf-292e-b6f5-ffd3401c481c
- Version Independent ID: 8838f2e5-9f7f-186c-9354-1b65edbda8f5
- Content: Get-NetAdapterBinding (NetAdapter)
- Content Source: docset/winserver2022-ps/netadapter/Get-NetAdapterBinding.md
- Product: w10
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend