-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix EnableSecurityGroups if resource is not running on a domain controller - DhcpServerAuthorization: * new resource to authorize DHCP server in AD - FailoverCluster: * add Networks support * add installation of required Windows Features * update documentation - HyperV: * remove unused code after migration to HyperVDsc - AddsDomainController: * add UnprotectFromAccidentalDeletion to allow dc promote if an existing AD computer account is protected
- Loading branch information
Showing
15 changed files
with
529 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// CommonTasks YAML Reference: DhcpServerAuthorization | ||
// =================================================== | ||
|
||
:YmlCategory: DhcpServerAuthorization | ||
|
||
:abstract: {YmlCategory} manages the authorizations of a DHCP server in Active Directory. | ||
|
||
[#dscyml_dhcpserverauthorization] | ||
= DSC Resource '{YmlCategory}' | ||
|
||
[[dscyml_dhcpserverauthorization_abstract, {abstract}]] | ||
{abstract} | ||
|
||
|
||
[cols="1,3a" options="autowidth" caption=] | ||
|=== | ||
| Source | https://github.com/dsccommunity/CommonTasks/tree/main/source/DSCResources/DhcpServerAuthorization | ||
| DSC Resource | https://github.com/dsccommunity/xDhcpServer[xDhcpServer] | ||
| Documentation | https://github.com/dsccommunity/xDhcpServer/wiki/xDhcpServerAuthorization[xDhcpServerAuthorization] | ||
|=== | ||
|
||
|
||
IMPORTANT: This resource must run on an Active Directory domain controller. | ||
|
||
|
||
.Attributes of category '{YmlCategory}' | ||
[cols="1,1,1,2a,1a" options="header"] | ||
|=== | ||
| Parameter | ||
| Attribute | ||
| DataType | ||
| Description | ||
| Allowed Values | ||
|
||
| DnsName | ||
| | ||
| String | ||
| DHCP Server FQDN or empty string for `localhost`. | ||
| | ||
|
||
| IPAddress | ||
| | ||
| String | ||
| DHCP Server IP Address or empty string for `localhost`. | ||
| | ||
|
||
| Ensure | ||
| | ||
| String | ||
| Whether the DHCP server should be authorized within Active Directory | ||
| - *Present* (default) | ||
- Removed | ||
|
||
|=== | ||
|
||
|
||
.Example | ||
[source, yaml] | ||
---- | ||
DhcpServerAuthorization: | ||
# authorize remote DHCP server | ||
DnsName: dhcp.contoso.com | ||
IPAddress: 192.168.1.12 | ||
Ensure: Present | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.