Skip to content

Latest commit

 

History

History
109 lines (84 loc) · 2 KB

DhcpServerOptions.adoc

File metadata and controls

109 lines (84 loc) · 2 KB

DSC Resource 'DhcpServerOptions'

DhcpServerOptions is used to manage option values at server level.

Source

DSC Resource

Documentation

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

ServerOptions

Hashtable[]

Set of option values at server level.

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

UserClass

Key

String

User class.

Use an empty string for default user class.

AddressFamily

Key

String

Sets the address family for the option definition.

Currently only IPv4 is supported.

  • IPv4

Value

String[]

Option data value.

Could be an array of string for a multi-valued option.

Ensure

String

Whether option should be set or removed.

  • Present

  • Absent

Example
DhcpServerOptions:
  ServerOptions:
    - OptionId: 15
      AddressFamily: IPv4
      UserClass: ''
      VendorClass: ''
      Value: contoso.com