Skip to content

Commit

Permalink
xADDomainController: Fix Issue #155 - Get-TargetResource fails (#249)
Browse files Browse the repository at this point in the history
- Added Ensure Read property to xADDomainController to fix Get-TargetResource return bug (issue #155).
  - Updated readme and add release notes
  • Loading branch information
devopsjesus authored and johlju committed Mar 26, 2019
1 parent 3ccc325 commit 144157e
Show file tree
Hide file tree
Showing 5 changed files with 9,124 additions and 172 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ class MSFT_xADDomainController : OMI_BaseResource
[Write, Description("The path where the Sysvol will be stored.")] String SysvolPath;
[Write, Description("The name of the site this Domain Controller will be added to.")] String SiteName;
[Write, Description("The path of the media you want to use install the Domain Controller.")] String InstallationMediaPath;
[Read, Description("The state of the Domain Controller.")] String Ensure;
};
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ The xADDomain resource creates a new domain in a new forest or a child domain in

### **xADDomainController**

The xADDomainController DSC resource will install and configure domain controllers in Active Directory.

* **`[String]` DomainName** _(Key)_: The fully qualified domain name for the domain where the domain controller will be present.
* **`[PSCredential]` DomainAdministratorCredential** _(Required)_: Specifies the credential for the account used to install the domain controller.
* **`[PSCredential]` SafemodeAdministratorPassword** _(Required)_: Password for the administrator account when the computer is started in Safe Mode.
Expand All @@ -121,6 +123,7 @@ The xADDomain resource creates a new domain in a new forest or a child domain in
* **`[String]` SysvolPath** _(Write)_: Specifies the fully qualified, non-UNC path to a directory on a fixed disk of the local computer where the Sysvol file will be written.
* **`[String]` SiteName** _(Write)_: Specify the name of an existing site where new domain controller will be placed.
* **`[String]` InstallationMediaPath** _(Write)_: Specify the path of the folder containg the Installation Media created in NTDSutil.
* **`[String]` Ensure** _(Read)_: The state of the Domain Controller, returned with Get.

### **xADDomainDefaultPasswordPolicy**

Expand Down Expand Up @@ -375,6 +378,8 @@ The xADForestProperties DSC resource will manage User Principal Name (UPN) suffi
* Changes to xADUser
* Added TrustedForDelegation parameter to xADUser to support enabling/disabling Kerberos delegation
* Minor clean up of unit tests.
* Added Ensure Read property to xADDomainController to fix Get-TargetResource return bug ([issue #155](https://github.com/PowerShell/xActiveDirectory/issues/155)).
* Updated readme and add release notes

### 2.24.0.0

Expand Down
Loading

0 comments on commit 144157e

Please sign in to comment.