DhcpScopeOptions is used to manage option values on scope level.
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Hashtable[] |
Set of option values on scope level. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
ScopeId |
Key |
String |
Scope ID to set the option. |
|
OptionId |
Key |
UInt32 |
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. |
|
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. |
|
Example
DhcpScopeOptions:
ScopeOptions:
- ScopeId: 192.169.1.0
OptionId: 6
AddressFamily: IPv4
UserClass: ''
VendorClass: ''
Value:
- 192.168.10.10
- 192.168.10.11
- ScopeId: 192.169.1.0
OptionId: 60
Value: Support
AddressFamily: IPv4
VendorClass: ''
UserClass: ''
- ScopeId: 192.169.1.0
OptionId: 66
Value: 192.168.50.222
AddressFamily: IPv4
VendorClass: ''
UserClass: ''
- ScopeId: 192.169.1.0
OptionId: 67
Value: DCMgr\Boot\Windows\wdsnbp.com
AddressFamily: IPv4
VendorClass: ''
UserClass: ''
- ScopeId: 192.169.1.0
OptionId: 3
Value: 192.169.1.254
AddressFamily: IPv4
VendorClass: ''
UserClass: ''