Tags: gaelicWizard/ActiveDirectoryDsc
Tags
ADGroup: Refactor Module, Unit and Integration Tests (dsccommunity#631) This PR refactors the module, unit and integration tests of the ADGroup resource as follows: - Remove non mandatory parameters from Get-TargetResource. - Remove nested Try/Catch blocks from Get-TargetResource. - Refactor Test-TargetResource to use Compare-ResourcePropertyState common function. - Refactor Set-TargetResource to use Compare-ResourcePropertyState common function. - Modify membership add/Remove to use Compare-Object to only add/remove changed members. - Fix Set-ADCommonGroupMember function so parameters are not changed. - Fix Credential parameter description. - Enhance integration tests to use a data driven pattern. - Enhance unit tests to use contexts and newer standard test patterns.
ADGroup: Changing group membership management mechanism (dsccommunity… …#620) This is intended to change the way that the ADGroup resource manages group membership. The new implementation abandons usage of Add-ADGroupMember and Remove-ADGroupMember due to limitations with Foreign Security Principals. Instead we opt to utilize Set-ADGroup with the Add and Remove parameters, passing a hash object with the member key and a list of formatted SID values (e.g. - "<SID=SID_VALUE>").
ADGroup: Changing group membership management mechanism (dsccommunity… …#620) This is intended to change the way that the ADGroup resource manages group membership. The new implementation abandons usage of Add-ADGroupMember and Remove-ADGroupMember due to limitations with Foreign Security Principals. Instead we opt to utilize Set-ADGroup with the Add and Remove parameters, passing a hash object with the member key and a list of formatted SID values (e.g. - "<SID=SID_VALUE>").
ADGroup: Updating means to retrieve group members (dsccommunity#617)
ADDomainController: ReadOnlyReplica Fix (dsccommunity#615)
ActiveDirectoryDsc: Fix CI Pipeline and DscResource.Common Module Imp… …ort (dsccommunity#614) * Fix DscResource.Common module import * PIn Pester module to v4.10.1 * Update DscResource.Common module to v0.9.0 * Update changelog
ADReplicationSiteLink: Refactor Test-TargetResource Function (dsccomm… …unity#601) This PR refactors the Test-TargetResource function of the ADReplicationSiteLink resource.
ActiveDirectoryDsc: Add CommonModule Markdown Help (dsccommunity#603) This PR adds Markdown Help files for the ActiveDirectoryDsc.Common Module. The Build-ReadMe.ps1 script is used to build the markdown documentation for the common module. this uses functions from the PlatyPS PowerShell Module to build the markdown from the PowerShell comment based help in the module.
ADReplicationSiteLink: Fix Setting Options After the Resource is Init… …ially Created (dsccommunity#606) This PR fixes the issue with the ADReplicationSiteLink resource whereby setting OptionChangeNotification, OptionTwoWaySync or OptionDisableCompression fails after the resource is initially created
ActiveDirectoryDsc: Remove Redundant Common Functions `Resolve-Domain… …FQDN` and `Set-DscADComputer` (dsccommunity#604) This PR removes the following redundant common functions: Resolve-DomainFQDN Set-DscADComputer The Resolve-DomainFQDN function is moved to the ADDomain resource module, which is the only resource that uses it, and it doesn't need to be mocked. The Set-DscADComputer function is removed and replaced by direct calls to Set-ADComputer which can now be mocked.
PreviousNext