Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
DisableNetbios |
Boolean |
Disable NetBios on all network interfaces. |
|
|
ConfigureIPv6 |
Int16 |
Configure IPv6 |
0 - 255 |
|
Hashtable[] |
List of network interfaces |
|||
Hashtable[] |
List of network routes |
Parameter | Attribute | DataType | Description | Allowed Values | ||||
---|---|---|---|---|---|---|---|---|
Key |
String |
Alias of the network interface for which the IP address should be set.
|
Default: Ethernet
|
|||||
IpAddress |
String |
The desired IP address, optionally including prefix length using CIDR notation. |
||||||
Prefix |
Int |
IP address prefix.
|
Default: 24 |
|||||
Gateway |
String |
The desired default gateway address. |
||||||
DnsServer |
String[] |
The desired DNS Server address(es). |
||||||
InterfaceMetric |
UInt32 |
Specifies the metric for an IP interface (IPv4 and IPv6).
|
||||||
DisableNetbios |
Boolean |
Disable the NetBios on the network interface. |
|
|||||
EnableLmhostsLookup |
Boolean |
Enable the LMHOSTS lookup on the network interface. |
|
|||||
EnableDhcp |
Boolean |
Enable the Dynamic Host Configuration Protocol (DHCP) for the IP interface.
|
|
|||||
DisableIPv6 |
Boolean |
Disable IPv6 on the network interface. |
|
|||||
NetworkCategory |
String |
Specifies the category of the network. You cannot set the category to The acceptable values for this parameter are:
|
|
Parameter | Attribute | DataType | Description | Allowed Values | ||
---|---|---|---|---|---|---|
Key |
String |
Specifies the alias of a network interface.
|
Default: Ethernet |
|||
AddressFamily |
Key |
String |
Specifies the IP address family. |
|
||
DestinationPrefix |
Key |
String |
Specifies a destination prefix of an IP route. A destination prefix consists of an IP address prefix and a prefix length, separated by a slash (/). |
|||
NextHop |
Key |
String |
Specifies the next hop for the IP route. |
|||
Ensure |
String |
Specifies whether the route should exist. |
|
|||
RouteMetric |
UInt16 |
Specifies an integer route metric for an IP route. |
Default: |
|||
Publish |
String |
Specifies the publish setting of an IP route. |
|
|||
PreferredLifetime |
Real64 |
Specifies a preferred lifetime in seconds of an IP route. |
NetworkIpConfiguration:
DisableNetBios: true
ConfigureIPv6: 32
Interfaces:
- InterfaceAlias: Ethernet
IpAddress: 10.0.0.1
Prefix: 8
Gateway: 10.0.0.254
DnsServer:
- 10.1.1.1
- 10.1.1.2
EnableDhcp: false
- InterfaceAlias: Wi-Fi
EnableDhcp: true
DisableIPv6: true
InterfaceMetric: 50
Routes:
- InterfaceAlias: Ethernet
DestinationPrefix: 192.168.0.0/16
NextHop: 192.168.120.0
RouteMetric: 200
Datum.yml
(Excerpt)default_lookup_options: MostSpecific
lookup_options:
NetworkIpConfiguration:
merge_hash: deep
NetworkIpConfiguration\Interfaces:
merge_baseType_array: Unique
merge_hash_array: DeepTuple
merge_options:
tuple_keys:
- InterfaceAlias
NetworkIpConfiguration\Routes:
merge_baseType_array: Unique
merge_hash_array: DeepTuple
merge_options:
tuple_keys:
- InterfaceAlias
- AddressFamily
- DestinationPrefix
- NextHop