Skip to content

The Name parameter does accept wildcard characters #3493

Open
@ilatypov

Description

@ilatypov

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

microsoft/WSL#6404


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area-netadapterIssues for netadapter moduledoc-bugFor Upwork freelance team categories/reporting.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions