DhcpServerOptionDefinitions is used to manage DHCP option definitions.
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Hashtable[] |
Set of server option definitions. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
OptionId |
Key |
Number |
Option ID, specify an integer between 1 and 255. |
|
VendorClass |
Key |
String |
Vendor class. Use an empty string for default vendor class. |
|
AddressFamily |
Key |
String |
Sets the address family for the option definition. Currently only IPv4 is supported. |
|
Name |
Mandatory |
String |
Option name. |
|
Type |
Mandatory |
String |
Option data type. |
|
Multivalued |
Boolean |
Whether option is multi-valued or not. |
|
|
Description |
String |
Option description. |
||
DefaultValue |
String |
Default value for the option. |
||
Ensure |
String |
Whether the DHCP server class should exist. |
|
Example
DhcpServerOptionDefinitions:
ServerOptionDefinitions:
- AddressFamily: IPv4
Name: PXEClientType
OptionId: 60
Type: string
VendorClass: ''
Description: PXE Support