When to use 'DhcpServerAuthorization'
Use this resource when you need to authorize a DHCP server in an Active Directory environment. A DHCP server must be authorized in AD before it can begin serving IP leases. This is a prerequisite step that is separate from scope and option configuration.
Source |
|
DSC Resource |
|
Documentation |
|
Important
|
This resource must run on an Active Directory domain controller. |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
DnsName |
String |
DHCP Server FQDN or empty string for |
||
IPAddress |
String |
DHCP Server IP Address or empty string for |
||
Ensure |
String |
Whether the DHCP server should be authorized within Active Directory |
|
Example
DhcpServerAuthorization:
# authorize remote DHCP server
DnsName: dhcp.contoso.com
IPAddress: 192.168.1.12
Ensure: PresentSee also