Skip to content

Releases: dsccommunity/ActiveDirectoryDsc

v6.0.2-preview0001

25 Apr 10:13
debb0da
Compare
Choose a tag to compare
v6.0.2-preview0001 Pre-release
Pre-release

[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

16 Apr 19:53
1fef25f
Compare
Choose a tag to compare

[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 word add, adds, minor, feature,
      or features (issue #588).
    • Rename folder 'Tests' to folder 'tests' (lower-case).
    • Moved oldest changelog details to historic changelog.
  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #581).
  • ADUser
    • Fixed PasswordAuthentication parameter handling
      (issue #582).

Changed

  • ActiveDirectoryDsc
    • Only run CI pipeline on branch master when there are changes to files
      inside the source folder.

v6.0.1-preview0003

09 Apr 15:13
6199687
Compare
Choose a tag to compare
v6.0.1-preview0003 Pre-release
Pre-release

[v6.0.1-preview0003]

Fixed

  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #581).

Changed

  • ActiveDirectoryDsc
    • When merging a commit with changes only to CHANGELOG.md the CI pipeline
      will not run.

Fixed

  • ADUser
    • Fixed PasswordAuthentication parameter handling
      (issue #582).

v6.0.1-preview0002

09 Apr 13:38
Compare
Choose a tag to compare
v6.0.1-preview0002 Pre-release
Pre-release

[v6.0.1-preview0002]

Fixed

  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #581).

Changed

  • ActiveDirectoryDsc
    • When merging a commit with changes only to CHANGELOG.md the CI pipeline
      will not run.

v6.0.1-preview0001

12 Mar 22:29
7bbd92f
Compare
Choose a tag to compare
v6.0.1-preview0001 Pre-release
Pre-release

[v6.0.1-preview0001]

v6.0.0

12 Mar 20:29
4cbeae1
Compare
Choose a tag to compare

[v6.0.0]

Added

  • ActiveDirectoryDsc
    • Added Codecov.io support.
    • Fixed miscellaneous spelling errors.
    • Added Strict-Mode v1.0 to all unit tests.
  • ADDomain
  • ADGroup
    • Added support for Managed Service Accounts
      (issue #532).
  • ADForestProperties

Fixed

  • ADForestProperties
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix
      (issue #548).
  • WaitForADDomain
    • Fixed Find-DomainController to correctly handle an exception thrown when a domain controller is not ready
      (issue #530).
  • 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).
  • ADOrganizationalUnit
    • Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist
      (issue #553).
  • ADReplicationSiteLink
    • Fixed issue creating a Site Link with options specified
      (issue #571).
  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #574).

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.
  • ADDomainController
    • Updated the Get-TargetResource function with the following:
      • Removed unused parameters.
      • Added IsDnsServer read-only property
        (issue #490).
  • 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.
  • 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 use Compare-ResourcePropertyState common function.
    • Reformatted code to keep line lengths to less than 120 characters.
    • Removed redundant Assert-Module and Get-ADOrganizationalUnit function calls from Set-TargetResource.
    • Wrapped Set-ADOrganizationalUnit and Remove-ADOrganizationalUnit with try/catch blocks and used common exception
      function.
    • Added DistinguishedName read-only property.
    • Refactored unit tests.
  • 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

11 Mar 18:00
4cbeae1
Compare
Choose a tag to compare
v6.0.0-preview0009 Pre-release
Pre-release

[v6.0.0-preview0009]

Added

  • ActiveDirectoryDsc
    • Added Codecov.io support.
    • Fixed miscellaneous spelling errors.
    • Added Strict-Mode v1.0 to all unit tests.
  • ADDomain
  • ADGroup
    • Added support for Managed Service Accounts
      (issue #532).
  • ADForestProperties

Fixed

  • ADForestProperties
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix
      (issue #548).
  • WaitForADDomain
    • Fixed Find-DomainController to correctly handle an exception thrown when a domain controller is not ready
      (issue #530).
  • 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).
  • ADOrganizationalUnit
    • Fixed issue where Get-DscConfiguration/Test-DscConfiguration throws an exception when parent path does not yet exist
      (issue #553).
  • ADReplicationSiteLink
    • Fixed issue creating a Site Link with options specified
      (issue #571).
  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #574).

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.
  • ADDomainController
    • Updated the Get-TargetResource function with the following:
      • Removed unused parameters.
      • Added IsDnsServer read-only property
        (issue #490).
  • 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.
  • 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 use Compare-ResourcePropertyState common function.
    • Reformatted code to keep line lengths to less than 120 characters.
    • Removed redundant Assert-Module and Get-ADOrganizationalUnit function calls from Set-TargetResource.
    • Wrapped Set-ADOrganizationalUnit and Remove-ADOrganizationalUnit with try/catch blocks and used common exception
      function.
    • Added DistinguishedName read-only property.
    • Refactored unit tests.
  • 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

10 Mar 08:23
811eef5
Compare
Choose a tag to compare
v6.0.0-preview0008 Pre-release
Pre-release

[v6.0.0-preview0008]

Added

  • ActiveDirectoryDsc
    • Added Codecov.io support.
    • Fixed miscellaneous spelling errors.
    • Added Strict-Mode v1.0 to all unit tests.
  • ADDomain
  • ADForestProperties

Fixed

  • ADForestProperties
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix (issue #548).
  • WaitForADDomain
    • Fixed Find-DomainController to correctly handle an exception thrown when a domain controller is not ready (issue #530).
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix (issue #548).
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix
      (issue #548).
  • 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)
  • ADOrganizationalUnit
    • Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
      (issue #553)
  • ADReplicationSiteLink
    • Fixed issue creating a Site Link with options specified
      (issue #571)
  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #574).

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.
  • ADDomainController
    • Updated the Get-TargetResource function with the following:
      • Removed unused parameters.
      • Added IsDnsServer read-only property
        (issue #490).
  • 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.
  • 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 use Compare-ResourcePropertyState common function.
    • Reformatted code to keep line lengths to less than 120 characters.
    • Removed redundant Assert-Module and Get-ADOrganizationalUnit function calls from Set-TargetResource.
    • Wrapped Set-ADOrganizationalUnit and Remove-ADOrganizationalUnit with try/catch blocks and used common exception
      function.
    • Added DistinguishedName read-only property.
    • Refactored unit tests.
  • 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

09 Mar 23:58
f263e7f
Compare
Choose a tag to compare
v6.0.0-preview0007 Pre-release
Pre-release

[v6.0.0-preview0007]

Added

  • ActiveDirectoryDsc
    • Added Codecov.io support.
    • Fixed miscellaneous spelling errors.
    • Added Strict-Mode v1.0 to all unit tests.
  • ADDomain
  • ADForestProperties

Fixed

  • ADForestProperties
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix
      (issue #548).
  • 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)
  • ADOrganizationalUnit
    • Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
      (issue #553)
  • ADReplicationSiteLink
    • Fixed issue creating a Site Link with options specified
      (issue #571)
  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #574).

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.
  • ADDomainController
    • Updated the Get-TargetResource function with the following:
      • Removed unused parameters.
      • Added IsDnsServer read-only property
        (issue #490).
  • 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.
  • 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 use Compare-ResourcePropertyState common function.
    • Reformatted code to keep line lengths to less than 120 characters.
    • Removed redundant Assert-Module and Get-ADOrganizationalUnit function calls from Set-TargetResource.
    • Wrapped Set-ADOrganizationalUnit and Remove-ADOrganizationalUnit with try/catch blocks and used common exception
      function.
    • Added DistinguishedName read-only property.
    • Refactored unit tests.
  • 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

09 Mar 23:00
974f0b6
Compare
Choose a tag to compare
v6.0.0-preview0006 Pre-release
Pre-release

[v6.0.0-preview0006]

Added

  • ActiveDirectoryDsc
    • Added Codecov.io support.
    • Fixed miscellaneous spelling errors.
    • Added Strict-Mode v1.0 to all unit tests.
  • ADDomain
  • ADForestProperties

Fixed

  • ADForestProperties
    • Fixed ability to clear ServicePrincipalNameSuffix and UserPrincipalNameSuffix
      (issue #548).
  • 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)
  • ADOrganizationalUnit
    • Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist
      (issue #553)
  • ADReplicationSiteLink
    • Fixed issue creating a Site Link with options specified
      (issue #571)
  • ADDomain
    • Added additional Get-ADDomain retry exceptions
      (issue #574).

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.
  • 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.
  • 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 use Compare-ResourcePropertyState common function.
    • Reformatted code to keep line lengths to less than 120 characters.
    • Removed redundant Assert-Module and Get-ADOrganizationalUnit function calls from Set-TargetResource.
    • Wrapped Set-ADOrganizationalUnit and Remove-ADOrganizationalUnit with try/catch blocks and used common exception
      function.
    • Added DistinguishedName read-only property.
    • Refactored unit tests.
  • 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)