-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: WaitForADDomain: Refactored the resource to handle t…
…imeout better (#455) - Changes to ActiveDirectoryDsc - The helper function `Find-DomainController` is exported in the module manifest. When running `Import-Module -Name ActiveDirectoryDsc` the module will also import the nested module ActiveDirectoryDsc.Common. It is exported so that the resource WaitForADDomain can reuse code when running a background job to search for a domain controller. - Changes to ActiveDirectoryDsc.Common: - Added function `Find-DomainController`. - Added function `Get-CurrentUser` (moved from the resource ADKDSKey). - Changes to WaitForADDomain - BREAKING CHANGE: Refactored the resource to handle timeout better and more correctly wait for a specific amount of time, and at the same time make the resource more intuitive to use. This change has replaced parameters in the resource ([issue #343](#343)). - Now the resource can use built-in `PsDscRunAsCredential` instead of specifying the `Credential` parameter ([issue #367](#367)). - New parameter `SiteName` can be used to wait for a domain controller in a specific site in the domain.
- Loading branch information
Showing
30 changed files
with
2,353 additions
and
340 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
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.