WeakHostReceive - dsccommunity/NetworkingDsc GitHub Wiki
WeakHostReceive
Warning! This resource has been deprecated as of v7.0.0.0. Please use the
WeakHostReceiveproperty of the NetIPInterface resource instead.
Parameters
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| InterfaceAlias | Key | string | Alias of the network interface for which the Weak Host Receiving is set. | |
| AddressFamily | Key | string | IP address family. | IPv4, IPv6 |
| State | Required | string | The desired state of the Weak Host Receiving. | Enabled, Disabled |
Description
This resource is used to control the weak host receive setting on an interface for a node.
Examples
Example 1
Disabling tbe weak host receive setting for the network adapter with alias 'Ethernet'.
Configuration Example
{
param
(
[Parameter()]
[System.String[]]
$NodeName = 'localhost'
)
Import-DscResource -Module NetworkingDsc
Node $NodeName
{
WeakHostSend DisableWeakHostReceiving
{
State = 'Disabled'
InterfaceAlias = 'Ethernet'
AddressFamily = 'IPv4'
}
}
}