WinsSetting
dscbot edited this page Feb 22, 2021
·
5 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes'. | Yes |
EnableLmHosts | Write | Boolean | Specifies if LMHOSTS lookup should be enabled for all network adapters with TCP/IP enabled. | |
EnableDns | Write | Boolean | Specifies if DNS is enabled for name resolution over WINS for all network adapters with TCP/IP enabled. |
This resource is used to configure the WINS settings that enable or disable LMHOSTS lookups and enable or disable DNS for name resolution over WINS.
Disable LMHOSTS lookup and disable using DNS for WINS name resolution.
Configuration WinSetting_ConfigureWinsSetting_Config
{
Import-DscResource -Module NetworkingDsc
Node localhost
{
WinsSetting ConfigureWinsSettings
{
IsSingleInstance = 'Yes'
EnableLMHOSTS = $false
EnableDNS = $false
}
}
}
- DefaultGatewayAddress
- DhcpClient
- DnsClientGlobalSetting
- DnsConnectionSuffix
- DnsServerAddress
- Firewall
- FirewallProfile
- Home
- HostsFile
- IPAddress
- IPAddressOption
- NetAdapterAdvancedProperty
- NetAdapterBinding
- NetAdapterLso
- NetAdapterName
- NetAdapterRdma
- NetAdapterRsc
- NetAdapterRss
- NetAdapterState
- NetBios
- NetConnectionProfile
- NetIPInterface
- NetworkTeam
- NetworkTeamInterface
- ProxySettings
- Route
- Running-Gulp-based-tests
- WaitForNetworkTeam
- WeakHostReceive
- WeakHostSend
- WinsServerAddress
- WinsSetting