-
Notifications
You must be signed in to change notification settings - Fork 88
NetAdapterBinding
Daniel Scott-Raynsford edited this page May 8, 2018
·
6 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
InterfaceAlias | Key | string | Specifies the alias of a network interface. Supports the use of '*'. | |
ComponentId | Key | string | Specifies the underlying name of the transport or filter in the following form - ms_xxxx, such as ms_tcpip. | |
State | Write | string | Specifies if the component ID for the Interface should be Enabled or Disabled. | Enabled, Disabled |
CurrentState | Read | string | Returns the current state of the component ID for the Interfaces. | Enabled, Disabled, Mixed |
This resource is used to bind or unbind transport or filters to a network interface.
Disabling IPv6 for the Ethernet adapter
Configuration Example
{
param
(
[Parameter()]
[System.String[]]
$NodeName = 'localhost'
)
Import-DSCResource -ModuleName NetworkingDsc
Node $NodeName
{
NetAdapterBinding DisableIPv6
{
InterfaceAlias = 'Ethernet'
ComponentId = 'ms_tcpip6'
State = 'Disabled'
}
}
}
- DefaultGatewayAddress
- DnsClientGlobalSetting
- DnsConnectionSuffix
- DnsServerAddress
- Firewall
- FirewallProfile
- HostsFile
- IPAddress
- IPAddressOption
- NetAdapterAdvancedProperty
- NetAdapterBinding
- NetAdapterLso
- NetAdapterName
- NetAdapterRdma
- NetAdapterRsc
- NetAdapterRss
- NetAdapterState
- NetBios
- NetConnectionProfile
- NetIPInterface
- NetworkTeam
- NetworkTeamInterface
- ProxySettings
- Route
- WaitForNetworkTeam
- WinsServerAddress
- WinsSetting