-
Notifications
You must be signed in to change notification settings - Fork 88
WinsSetting
dscbot edited this page Jun 7, 2024
·
6 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
- 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