Skip to content

Latest commit

 

History

History
133 lines (106 loc) · 2.42 KB

DhcpServerOptionDefinitions.adoc

File metadata and controls

133 lines (106 loc) · 2.42 KB

DSC Resource 'DhcpServerOptionDefinitions'

DhcpServerOptionDefinitions is used to manage DHCP option definitions.

Source

DSC Resource

Documentation

Table 1. Attributes of category 'DhcpServerOptionDefinitions'
Parameter Attribute DataType Description Allowed Values

ServerOptionDefinitions

Hashtable[]

Set of server option definitions.

Table 2. Attributes of category 'DhcpServerOptionDefinitions/ServerOptionDefinitions'
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.

  • IPv4

Name

Mandatory

String

Option name.

Type

Mandatory

String

Option data type.

  • Byte

  • Word

  • Dword

  • DwordDword

  • IPv4Address

  • String

  • BinaryData

  • EncapsulatedData

Multivalued

Boolean

Whether option is multi-valued or not.

  • True

  • False

Description

String

Option description.

DefaultValue

String

Default value for the option.

Ensure

String

Whether the DHCP server class should exist.

  • Present

  • Absent

Example
DhcpServerOptionDefinitions:
  ServerOptionDefinitions:
    - AddressFamily: IPv4
      Name: PXEClientType
      OptionId: 60
      Type: string
      VendorClass: ''
      Description: PXE Support