ActiveDirectoryDsc

5.1.0-preview0004

The ActiveDirectoryDsc module contains DSC resources for deployment and configuration of Active Directory.

These DSC resources allow you to configure new domains, child domains, and high availability domain controllers, establish cross-domain trusts and manage users, groups and OUs.

Minimum PowerShell version

4.0

This is a prerelease version of ActiveDirectoryDsc.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ActiveDirectoryDsc -RequiredVersion 5.1.0-preview0004 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ActiveDirectoryDsc -Version 5.1.0-preview0004 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright the DSC Community contributors. All rights reserved.

Package Details

Author(s)

  • DSC Community

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource

Functions

Find-DomainController

DSCResources

ADComputer ADDomain ADDomainController ADDomainControllerProperties ADDomainDefaultPasswordPolicy ADDomainFunctionalLevel ADDomainTrust ADForestFunctionalLevel ADForestProperties ADGroup ADKDSKey ADManagedServiceAccount ADObjectEnabledState ADObjectPermissionEntry ADOptionalFeature ADOrganizationalUnit ADReplicationSite ADReplicationSiteLink ADServicePrincipalName ADUser WaitForADDomain

Dependencies

This module has no dependencies.

Release Notes

## [5.1.0-preview0004] - 2020-02-08

### Added

- ActiveDirectoryDsc
 - Added [Codecov.io](https://codecov.io/) support.
- ADForestProperties
 - Added TombstoneLifetime property ([issue #302](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/302)).
 - Added Integration tests ([issue #349](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/349)).

### Fixed

- ADForestProperties
 - Fixed ability to clear `ServicePrincipalNameSuffix` and `UserPrincipalNameSuffix` ([issue #548](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/548)).
- ADObjectPermissionEntry
   - Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when target object path does not yet exist ([issue #552](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/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](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/547))
- ADOrganizationalUnit
 - Fixed issue where Get-DscConfiguration / Test-DscConfiguration throw an exception when parent path does not yet exist ([issue #553](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/553))

### Changed

- ActiveDirectoryDsc
 - Updated Azure Pipeline Windows image ([issue #551](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/551)).
 - Updated license copyright ([issue #550](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/550)).
- ADForestProperties
 - Refactored unit tests.

## [5.0.0] - 2020-01-14

### Added

- ADServicePrincipalName
 - Added Integration tests ([issue #358](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/358)).
- ADManagedServiceAccount
 - Added Integration tests.
- ADKDSKey
 - Added Integration tests ([issue #351](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/351)).

### Changed

- ADManagedServiceAccount
 - KerberosEncryptionType property added. ([issue #511](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/511)).
 - BREAKING CHANGE: AccountType parameter ValidateSet changed from ('Group', 'Single') to ('Group', 'Standalone') - Standalone is the correct terminology. Ref: [Service Accounts](https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/service-accounts).
 ([issue #515](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/515)).
 - BREAKING CHANGE: AccountType parameter default of Single removed. - Enforce positive choice of account type.
 - BREAKING CHANGE: MembershipAttribute parameter ValidateSet member SID changed to ObjectSid to match result property of Get-AdObject. Previous code does not work if SID is specified.
 - BREAKING CHANGE: AccountTypeForce parameter removed - unnecessary complication.
 - BREAKING CHANGE: Members parameter renamed to ManagedPasswordPrincipals - to closer match Get-AdServiceAccount result property PrincipalsAllowedToRetrieveManagedPassword. This is so that a DelegateToAccountPrincipals parameter can be added later.
 - Common Compare-ResourcePropertyState function used to replace function specific Compare-TargetResourceState and code refactored.
 ([issue #512](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/512)).
 - Resource unit tests refactored to use nested contexts and follow the logic of the module.
- ActiveDirectoryDsc
 - Updated PowerShell help files.
 - Updated Wiki link in README.md.
 - Remove verbose parameters from unit tests.
 - Fix PowerShell script file formatting and culture string alignment.
 - Add the `pipelineIndentationStyle` setting to the Visual Studio Code settings file.
 - Remove unused common function Test-DscParameterState ([issue #522](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/522)).

### Fixed

- ActiveDirectoryDsc
 - Fix tests ErrorAction on DscResource.Test Import-Module.
- ADObjectPermissionEntry
 - Updated Assert-ADPSDrive with PSProvider Checks ([issue #527](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/527)).
- ADReplicationSite
 - Fixed incorrect evaluation of site configuration state when no description is defined ([issue #534](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/534)).
- ADReplicationSiteLink
 - Fix RemovingSites verbose message ([issue #518](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/518)).
- ADComputer
 - Fixed the SamAcountName property description ([issue #529](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/529)).

## 4.2.0.0

### Added

- ADReplicationSite
 - Added 'Description' attribute parameter ([issue #500](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/500)).
 - Added Integration testing ([issue #355](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/355)).
- ADReplicationSubnet
 - Added 'Description' attribute parameter ([issue #503](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/500)).
 - Added Integration testing ([issue #357](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/357)).
- ADReplicationSiteLink
 - Added Integration testing ([issue #356](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/356)).
 - Added ability to set 'Options' such as Change Notification Replication ([issue #504](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/504)).

### Fixed

- ActiveDirectoryDsc
 - Resolved custom Script Analyzer rules that was added to the test framework.
- ActiveDirectoryDsc.Common
 - Fix `Test-DscPropertyState` Failing when Comparing $Null and Arrays. ([issue #513](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/513)).
- ADReplicationSite
 - Correct value returned for RenameDefaultFirstSiteName ([issue #502](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/502)).

FileList

Version History

Version Downloads Last updated
6.4.0 96,351 2/14/2024
6.4.0-previe... 5 2/14/2024
6.3.1-previe... 11 2/12/2024
6.3.0 379,165 8/24/2023
6.3.0-previe... 5 8/24/2023
6.3.0-previe... 2,419 5/26/2022
6.3.0-previe... 172 5/17/2022
6.2.0 3,625,399 5/1/2022
6.2.0-previe... 154 5/1/2022
6.2.0-previe... 152 5/1/2022
6.2.0-previe... 153 5/1/2022
6.2.0-previe... 159 4/30/2022
6.2.0-previe... 158 4/30/2022
6.2.0-previe... 2,340 1/24/2021
6.1.0-previe... 284,386 10/10/2020
6.1.0-previe... 631 7/13/2020
6.1.0-previe... 289 6/30/2020
6.1.0-previe... 189 6/23/2020
6.1.0-previe... 227 5/2/2020
6.1.0-previe... 186 5/2/2020
6.0.2-previe... 182 5/2/2020
6.0.2-previe... 197 4/27/2020
6.0.2-previe... 189 4/26/2020
6.0.2-previe... 188 4/25/2020
6.0.1 1,291,163 4/16/2020
6.0.1-previe... 194 4/9/2020
6.0.1-previe... 221 3/12/2020
6.0.0 10,026 3/12/2020
6.0.0-previe... 184 3/11/2020
6.0.0-previe... 185 3/10/2020
6.0.0-previe... 184 3/9/2020
6.0.0-previe... 184 3/9/2020
6.0.0-previe... 186 3/9/2020
6.0.0-previe... 184 3/9/2020
6.0.0-previe... 184 3/9/2020
6.0.0-previe... 190 2/28/2020
6.0.0-previe... 194 2/12/2020
5.1.0-previe... 187 2/10/2020
5.1.0-previe... (current version) 185 2/8/2020
5.1.0-previe... 187 2/7/2020
5.1.0-previe... 185 2/5/2020
5.1.0-previe... 190 1/20/2020
5.0.0 15,009 1/14/2020
5.0.0-previe... 185 1/14/2020
5.0.0-previe... 185 1/13/2020
5.0.0-previe... 184 1/12/2020
5.0.0-previe... 184 1/12/2020
5.0.0-previe... 184 1/12/2020
5.0.0-previe... 186 1/10/2020
4.2.0.0 20,799 10/30/2019
4.1.0.0 10,923 9/19/2019
4.0.0.0 9,097 8/8/2019
Show less