Releases: dsccommunity/ActiveDirectoryDsc
Releases · dsccommunity/ActiveDirectoryDsc
v6.0.2-preview0001
[v6.0.2-preview0001]
Changed
- ActiveDirectoryDsc
- Migrated to DscResource.Common Module.
- Testing HQRM and Unit Tests on PowerShell 7
- Fixed the pipeline paths trigger.
v6.0.1
[v6.0.1]
Fixed
- ActiveDirectoryDsc
- The regular expression for
minor-version-bump-message
in the file
GitVersion.yml
was changed to only raise minor version when the
commit message contain the wordadd
,adds
,minor
,feature
,
orfeatures
(issue #588). - Rename folder 'Tests' to folder 'tests' (lower-case).
- Moved oldest changelog details to historic changelog.
- The regular expression for
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #581).
- Added additional Get-ADDomain retry exceptions
- ADUser
- Fixed PasswordAuthentication parameter handling
(issue #582).
- Fixed PasswordAuthentication parameter handling
Changed
- ActiveDirectoryDsc
- Only run CI pipeline on branch
master
when there are changes to files
inside thesource
folder.
- Only run CI pipeline on branch
v6.0.1-preview0003
[v6.0.1-preview0003]
Fixed
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #581).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- When merging a commit with changes only to CHANGELOG.md the CI pipeline
will not run.
- When merging a commit with changes only to CHANGELOG.md the CI pipeline
Fixed
- ADUser
- Fixed PasswordAuthentication parameter handling
(issue #582).
- Fixed PasswordAuthentication parameter handling
v6.0.1-preview0002
[v6.0.1-preview0002]
Fixed
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #581).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- When merging a commit with changes only to CHANGELOG.md the CI pipeline
will not run.
- When merging a commit with changes only to CHANGELOG.md the CI pipeline
v6.0.1-preview0001
[v6.0.1-preview0001]
v6.0.0
[v6.0.0]
Added
- ActiveDirectoryDsc
- Added Codecov.io support.
- Fixed miscellaneous spelling errors.
- Added Strict-Mode v1.0 to all unit tests.
- ADDomain
- Added integration tests
(issue #345).
- Added integration tests
- ADGroup
- Added support for Managed Service Accounts
(issue #532).
- Added support for Managed Service Accounts
- ADForestProperties
- Added TombstoneLifetime property
(issue #302). - Added Integration tests
(issue #349).
- Added TombstoneLifetime property
Fixed
- ADForestProperties
- Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed ability to clear
- WaitForADDomain
- Fixed
Find-DomainController
to correctly handle an exception thrown when a domain controller is not ready
(issue #530).
- Fixed
- ADObjectPermissionEntry
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
yet exist
(issue #552). - Fixed issue where Get-TargetResource throw an exception,
Cannot find drive. A drive with the name 'AD' does not exist
, when running soon after domain controller restart
(issue #547).
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
- ADOrganizationalUnit
- Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist
(issue #553).
- Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist
- ADReplicationSiteLink
- Fixed issue creating a Site Link with options specified
(issue #571).
- Fixed issue creating a Site Link with options specified
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #574).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- BREAKING CHANGE: Required PowerShell version increased from v4.0 to v5.0
- Updated Azure Pipeline Windows image
(issue #551). - Updated license copyright
(issue #550).
- ADDomain
- Changed Domain Install Tracking File to use NetLogon Registry Test.
(issue #560). - Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Removed unnecessary domain membership check.
- Removed unneeded catch exception blocks.
- Changed Get-ADDomain and Get-ADForest to use localhost as the server.
- Improved Try/Catch blocks to only cover cmdlet calls.
- Simplified retry timing loop.
- Refactored unit tests.
- Updated NewChildDomain example to clarify the contents of the credential parameter and use Windows 2016 rather than
2012 R2.
- Changed Domain Install Tracking File to use NetLogon Registry Test.
- ADDomainController
- Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Added IsDnsServer read-only property
(issue #490).
- Updated the Get-TargetResource function with the following:
- ADForestProperties
- Refactored unit tests.
- ADReplicationSiteLink
- Refactored the
Set-TargetResource
function so that properties are only set if they have been changed. - Refactored the resource unit tests.
- Added quotes to all the variables in the localised string data.
- Refactored the
- ADOrganizationalUnit
- Replaced throws with
New-InvalidOperationException
. - Refactored
Get-TargetResource
to not reference properties of a$null
object - Fixed organization references to organizational.
- Refactored
Test-TargetResource
to useCompare-ResourcePropertyState
common function. - Reformatted code to keep line lengths to less than 120 characters.
- Removed redundant
Assert-Module
andGet-ADOrganizationalUnit
function calls fromSet-TargetResource
. - Wrapped
Set-ADOrganizationalUnit
andRemove-ADOrganizationalUnit
with try/catch blocks and used common exception
function. - Added
DistinguishedName
read-only property. - Refactored unit tests.
- Replaced throws with
- 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)
v6.0.0-preview0009
[v6.0.0-preview0009]
Added
- ActiveDirectoryDsc
- Added Codecov.io support.
- Fixed miscellaneous spelling errors.
- Added Strict-Mode v1.0 to all unit tests.
- ADDomain
- Added integration tests
(issue #345).
- Added integration tests
- ADGroup
- Added support for Managed Service Accounts
(issue #532).
- Added support for Managed Service Accounts
- ADForestProperties
- Added TombstoneLifetime property
(issue #302). - Added Integration tests
(issue #349).
- Added TombstoneLifetime property
Fixed
- ADForestProperties
- Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed ability to clear
- WaitForADDomain
- Fixed
Find-DomainController
to correctly handle an exception thrown when a domain controller is not ready
(issue #530).
- Fixed
- ADObjectPermissionEntry
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
yet exist
(issue #552). - Fixed issue where Get-TargetResource throw an exception,
Cannot find drive. A drive with the name 'AD' does not exist
, when running soon after domain controller restart
(issue #547).
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
- ADOrganizationalUnit
- Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist
(issue #553).
- Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist
- ADReplicationSiteLink
- Fixed issue creating a Site Link with options specified
(issue #571).
- Fixed issue creating a Site Link with options specified
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #574).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- BREAKING CHANGE: Required PowerShell version increased from v4.0 to v5.0
- Updated Azure Pipeline Windows image
(issue #551). - Updated license copyright
(issue #550).
- ADDomain
- Changed Domain Install Tracking File to use NetLogon Registry Test.
(issue #560). - Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Removed unnecessary domain membership check.
- Removed unneeded catch exception blocks.
- Changed Get-ADDomain and Get-ADForest to use localhost as the server.
- Improved Try/Catch blocks to only cover cmdlet calls.
- Simplified retry timing loop.
- Refactored unit tests.
- Updated NewChildDomain example to clarify the contents of the credential parameter and use Windows 2016 rather than
2012 R2.
- Changed Domain Install Tracking File to use NetLogon Registry Test.
- ADDomainController
- Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Added IsDnsServer read-only property
(issue #490).
- Updated the Get-TargetResource function with the following:
- ADForestProperties
- Refactored unit tests.
- ADReplicationSiteLink
- Refactored the
Set-TargetResource
function so that properties are only set if they have been changed. - Refactored the resource unit tests.
- Added quotes to all the variables in the localised string data.
- Refactored the
- ADOrganizationalUnit
- Replaced throws with
New-InvalidOperationException
. - Refactored
Get-TargetResource
to not reference properties of a$null
object - Fixed organization references to organizational.
- Refactored
Test-TargetResource
to useCompare-ResourcePropertyState
common function. - Reformatted code to keep line lengths to less than 120 characters.
- Removed redundant
Assert-Module
andGet-ADOrganizationalUnit
function calls fromSet-TargetResource
. - Wrapped
Set-ADOrganizationalUnit
andRemove-ADOrganizationalUnit
with try/catch blocks and used common exception
function. - Added
DistinguishedName
read-only property. - Refactored unit tests.
- Replaced throws with
- 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)
v6.0.0-preview0008
[v6.0.0-preview0008]
Added
- ActiveDirectoryDsc
- Added Codecov.io support.
- Fixed miscellaneous spelling errors.
- Added Strict-Mode v1.0 to all unit tests.
- ADDomain
- Added integration tests
(issue #302).
- Added integration tests
- ADForestProperties
- Added TombstoneLifetime property
(issue #302). - Added Integration tests
(issue #349).
- Added TombstoneLifetime property
Fixed
- ADForestProperties
- Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed ability to clear
- WaitForADDomain
- Fixed
Find-DomainController
to correctly handle an exception thrown when a domain controller is not ready (issue #530). - Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548). - Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed
- ADObjectPermissionEntry
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
yet exist
(issue #552) - Fixed issue where Get-TargetResource throw an exception,
Cannot find drive. A drive with the name 'AD' does not exist
, when running soon after domain controller restart
(issue #547)
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
- ADOrganizationalUnit
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
(issue #553)
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
- ADReplicationSiteLink
- Fixed issue creating a Site Link with options specified
(issue #571)
- Fixed issue creating a Site Link with options specified
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #574).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- BREAKING CHANGE: Required PowerShell version increased from v4.0 to v5.0
- Updated Azure Pipeline Windows image
(issue #551). - Updated license copyright
(issue #550).
- ADDomain
- Changed Domain Install Tracking File to use NetLogon Registry Test.
(issue #560). - Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Removed unnecessary domain membership check.
- Removed unneeded catch exception blocks.
- Changed Get-ADDomain and Get-ADForest to use localhost as the server.
- Improved Try/Catch blocks to only cover cmdlet calls.
- Simplified retry timing loop.
- Refactored unit tests.
- Updated NewChildDomain example to clarify the contents of the credential parameter and use Windows 2016 rather than
2012 R2.
- Changed Domain Install Tracking File to use NetLogon Registry Test.
- ADDomainController
- Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Added IsDnsServer read-only property
(issue #490).
- Updated the Get-TargetResource function with the following:
- ADForestProperties
- Refactored unit tests.
- ADReplicationSiteLink
- Refactored the
Set-TargetResource
function so that properties are only set if they have been changed. - Refactored the resource unit tests.
- Added quotes to all the variables in the localised string data.
- Refactored the
- ADOrganizationalUnit
- Replaced throws with
New-InvalidOperationException
. - Refactored
Get-TargetResource
to not reference properties of a$null
object - Fixed organization references to organizational.
- Refactored
Test-TargetResource
to useCompare-ResourcePropertyState
common function. - Reformatted code to keep line lengths to less than 120 characters.
- Removed redundant
Assert-Module
andGet-ADOrganizationalUnit
function calls fromSet-TargetResource
. - Wrapped
Set-ADOrganizationalUnit
andRemove-ADOrganizationalUnit
with try/catch blocks and used common exception
function. - Added
DistinguishedName
read-only property. - Refactored unit tests.
- Replaced throws with
- 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)
v6.0.0-preview0007
[v6.0.0-preview0007]
Added
- ActiveDirectoryDsc
- Added Codecov.io support.
- Fixed miscellaneous spelling errors.
- Added Strict-Mode v1.0 to all unit tests.
- ADDomain
- Added integration tests
(issue #302).
- Added integration tests
- ADForestProperties
- Added TombstoneLifetime property
(issue #302). - Added Integration tests
(issue #349).
- Added TombstoneLifetime property
Fixed
- ADForestProperties
- Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed ability to clear
- ADObjectPermissionEntry
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
yet exist
(issue #552) - Fixed issue where Get-TargetResource throw an exception,
Cannot find drive. A drive with the name 'AD' does not exist
, when running soon after domain controller restart
(issue #547)
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
- ADOrganizationalUnit
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
(issue #553)
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
- ADReplicationSiteLink
- Fixed issue creating a Site Link with options specified
(issue #571)
- Fixed issue creating a Site Link with options specified
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #574).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- BREAKING CHANGE: Required PowerShell version increased from v4.0 to v5.0
- Updated Azure Pipeline Windows image
(issue #551). - Updated license copyright
(issue #550).
- ADDomain
- Changed Domain Install Tracking File to use NetLogon Registry Test.
(issue #560). - Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Removed unnecessary domain membership check.
- Removed unneeded catch exception blocks.
- Changed Get-ADDomain and Get-ADForest to use localhost as the server.
- Improved Try/Catch blocks to only cover cmdlet calls.
- Simplified retry timing loop.
- Refactored unit tests.
- Updated NewChildDomain example to clarify the contents of the credential parameter and use Windows 2016 rather than
2012 R2.
- Changed Domain Install Tracking File to use NetLogon Registry Test.
- ADDomainController
- Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Added IsDnsServer read-only property
(issue #490).
- Updated the Get-TargetResource function with the following:
- ADForestProperties
- Refactored unit tests.
- ADReplicationSiteLink
- Refactored the
Set-TargetResource
function so that properties are only set if they have been changed. - Refactored the resource unit tests.
- Added quotes to all the variables in the localised string data.
- Refactored the
- ADOrganizationalUnit
- Replaced throws with
New-InvalidOperationException
. - Refactored
Get-TargetResource
to not reference properties of a$null
object - Fixed organization references to organizational.
- Refactored
Test-TargetResource
to useCompare-ResourcePropertyState
common function. - Reformatted code to keep line lengths to less than 120 characters.
- Removed redundant
Assert-Module
andGet-ADOrganizationalUnit
function calls fromSet-TargetResource
. - Wrapped
Set-ADOrganizationalUnit
andRemove-ADOrganizationalUnit
with try/catch blocks and used common exception
function. - Added
DistinguishedName
read-only property. - Refactored unit tests.
- Replaced throws with
- 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)
v6.0.0-preview0006
[v6.0.0-preview0006]
Added
- ActiveDirectoryDsc
- Added Codecov.io support.
- Fixed miscellaneous spelling errors.
- Added Strict-Mode v1.0 to all unit tests.
- ADDomain
- Added integration tests
(issue #302).
- Added integration tests
- ADForestProperties
- Added TombstoneLifetime property
(issue #302). - Added Integration tests
(issue #349).
- Added TombstoneLifetime property
Fixed
- ADForestProperties
- Fixed ability to clear
ServicePrincipalNameSuffix
andUserPrincipalNameSuffix
(issue #548).
- Fixed ability to clear
- ADObjectPermissionEntry
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
yet exist
(issue #552) - Fixed issue where Get-TargetResource throw an exception,
Cannot find drive. A drive with the name 'AD' does not exist
, when running soon after domain controller restart
(issue #547)
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not
- ADOrganizationalUnit
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
(issue #553)
- Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
- ADReplicationSiteLink
- Fixed issue creating a Site Link with options specified
(issue #571)
- Fixed issue creating a Site Link with options specified
- ADDomain
- Added additional Get-ADDomain retry exceptions
(issue #574).
- Added additional Get-ADDomain retry exceptions
Changed
- ActiveDirectoryDsc
- BREAKING CHANGE: Required PowerShell version increased from v4.0 to v5.0
- Updated Azure Pipeline Windows image
(issue #551). - Updated license copyright
(issue #550).
- ADDomain
- Changed Domain Install Tracking File to use NetLogon Registry Test.
(issue #560). - Updated the Get-TargetResource function with the following:
- Removed unused parameters.
- Removed unnecessary domain membership check.
- Removed unneeded catch exception blocks.
- Changed Get-ADDomain and Get-ADForest to use localhost as the server.
- Improved Try/Catch blocks to only cover cmdlet calls.
- Simplified retry timing loop.
- Refactored unit tests.
- Updated NewChildDomain example to clarify the contents of the credential parameter and use Windows 2016 rather than
2012 R2.
- Changed Domain Install Tracking File to use NetLogon Registry Test.
- ADForestProperties
- Refactored unit tests.
- ADReplicationSiteLink
- Refactored the
Set-TargetResource
function so that properties are only set if they have been changed. - Refactored the resource unit tests.
- Added quotes to all the variables in the localised string data.
- Refactored the
- ADOrganizationalUnit
- Replaced throws with
New-InvalidOperationException
. - Refactored
Get-TargetResource
to not reference properties of a$null
object - Fixed organization references to organizational.
- Refactored
Test-TargetResource
to useCompare-ResourcePropertyState
common function. - Reformatted code to keep line lengths to less than 120 characters.
- Removed redundant
Assert-Module
andGet-ADOrganizationalUnit
function calls fromSet-TargetResource
. - Wrapped
Set-ADOrganizationalUnit
andRemove-ADOrganizationalUnit
with try/catch blocks and used common exception
function. - Added
DistinguishedName
read-only property. - Refactored unit tests.
- Replaced throws with
- 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)