-
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.
ADUser: Refactor Module and Unit Tests (#569)
- ADUser - Improve Try/Catch blocks to only cover cmdlet calls. - Move the Test-Password function to the ActiveDirectoryDsc.Common module and add unit tests. - Reformat code to keep line lengths to less than 120 characters. - Fix Password parameter processing when PasswordNeverResets is $true. - Remove unnecessary Enabled parameter check. - Remove unnecessary Clear explicit parameter check. - Add check to only call Set-ADUser if there are properties to change. - Refactored Unit Tests - (issue #467)
- Loading branch information
1 parent
ff7d92f
commit 1d91e81
Showing
11 changed files
with
2,548 additions
and
2,178 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
Oops, something went wrong.