-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Changes to ActiveDirectoryDsc.Common - Update helper function `Add-ADCommonGroupMember` to reduce duplicated code, and add an evaluation if `Members` is empty. - Updated helper function `Restore-ADCommonObject` to write out a verbose message when no object was found in the recycle bin. - Updated helper function `Assert-MemberParameters` to not throw an error if the parameter `Members` is en empty array. - Changes to ADGroup - Added a read-only property `DistinguishedName`. - Refactor the function `Set-TargetResource` to use the function `Get-TargetResource` so that `Set-TargetResource` can correctly throw an error when something goes wrong (issue #151, issue #166, issue #493). - It is now possible to enforce a group with no members by using `Members = @()` in a configuration (issue #189).
- Loading branch information
Showing
12 changed files
with
757 additions
and
262 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.