DSCResources/DSC_NetBios/en-US/about_NetBios.help.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.NAME
    NetBios
 
.DESCRIPTION
    This resource is used to enable or disable the NetBios on a network interface.
 
.PARAMETER InterfaceAlias
    Key - String
    Specifies the alias of a network interface. Supports the use of '*' and '%'
 
.PARAMETER Setting
    Required - String
    Allowed values: Default, Enable, Disable
    Specifies if NetBIOS should be enabled or disabled or obtained from the DHCP server (Default). If static IP, Enable NetBIOS.
 
.EXAMPLE 1
 
Disable NetBios on Adapter.
 
Configuration NetBios_DisableNetBios_Config
{
    Import-DscResource -ModuleName NetworkingDsc
 
    Node localhost
    {
        NetBios DisableNetBios
        {
            InterfaceAlias = 'Ethernet'
            Setting = 'Disable'
        }
    }
}
 
.EXAMPLE 2
 
Disable NetBios on all adapters.
 
Configuration NetBios_DisableNetBios_Config_Wildcard
{
    Import-DscResource -ModuleName NetworkingDsc
 
    Node localhost
    {
        NetBios DisableNetBios
        {
            InterfaceAlias = '*'
            Setting = 'Disable'
        }
    }
}