ActiveDirectoryDsc
5.0.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
See the version list below for details.
Installation Options
Owners
Copyright
Copyright the DSC Community contributors. All rights reserved.
Package Details
Author(s)
- DSC Community
Tags
DesiredStateConfiguration DSC DSCResourceKit DSCResource
Functions
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
# Change log for ActiveDirectoryDsc
The format is based on and uses the types of changes according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md).
## [Unreleased]
### Added
- ADServicePrincipalName
- Added Integration tests ([issue #358](https://github.com/PowerShell/ActiveDirectoryDsc/issues/358)).
- ADManagedServiceAccount
- Added Integration tests.
- ADKDSKey
- Added Integration tests ([issue #351](https://github.com/PowerShell/ActiveDirectoryDsc/issues/351)).
### Changed
- ADManagedServiceAccount
- KerberosEncryptionType property added. ([issue #511](https://github.com/PowerShell/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/PowerShell/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/PowerShell/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.
### Fixed
- ActiveDirectoryDsc
- Fix tests ErrorAction on DscResource.Test Import-Module.
- ADObjectPermissionEntry
- Updated Assert-ADPSDrive with PSProvider Checks ([issue #527](https://github.com/PowerShell/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/PowerShell/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/PowerShell/ActiveDirectoryDsc/issues/500)).
- Added Integration testing ([issue #355](https://github.com/PowerShell/ActiveDirectoryDsc/issues/355)).
- ADReplicationSubnet
- Added 'Description' attribute parameter ([issue #503](https://github.com/PowerShell/ActiveDirectoryDsc/issues/500)).
- Added Integration testing ([issue #357](https://github.com/PowerShell/ActiveDirectoryDsc/issues/357)).
- ADReplicationSiteLink
- Added Integration testing ([issue #356](https://github.com/PowerShell/ActiveDirectoryDsc/issues/356)).
- Added ability to set 'Options' such as Change Notification Replication ([issue #504](https://github.com/PowerShell/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/PowerShell/ActiveDirectoryDsc/issues/513)).
- ADReplicationSite
- Correct value returned for RenameDefaultFirstSiteName ([issue #502](https://github.com/PowerShell/ActiveDirectoryDsc/issues/502)).
FileList
- ActiveDirectoryDsc.nuspec
- ActiveDirectoryDsc.psd1
- en-US\about_ActiveDirectoryDsc.help.txt
- Modules\ActiveDirectoryDsc.Common\ActiveDirectoryDsc.Common.psd1
- Modules\ActiveDirectoryDsc.Common\ActiveDirectoryDsc.Common.psm1
- DSCResources\MSFT_ADForestFunctionalLevel\MSFT_ADForestFunctionalLevel.psm1
- DSCResources\MSFT_ADForestFunctionalLevel\MSFT_ADForestFunctionalLevel.schema.mof
- DSCResources\MSFT_ADForestFunctionalLevel\README.md
- DSCResources\MSFT_ADDomain\MSFT_ADDomain.schema.mof
- DSCResources\MSFT_ADDomain\README.md
- DSCResources\MSFT_ADDomain\MSFT_ADDomain.psm1
- DSCResources\MSFT_ADServicePrincipalName\README.md
- DSCResources\MSFT_ADServicePrincipalName\MSFT_ADServicePrincipalName.schema.mof
- DSCResources\MSFT_ADServicePrincipalName\MSFT_ADServicePrincipalName.psm1
- DSCResources\MSFT_ADDomainTrust\README.md
- DSCResources\MSFT_ADDomainTrust\MSFT_ADDomainTrust.psm1
- DSCResources\MSFT_ADDomainTrust\MSFT_ADDomainTrust.schema.mof
- DSCResources\MSFT_ADComputer\README.md
- DSCResources\MSFT_ADComputer\MSFT_ADComputer.psm1
- DSCResources\MSFT_ADComputer\MSFT_ADComputer.schema.mof
- DSCResources\MSFT_ADDomainDefaultPasswordPolicy\MSFT_ADDomainDefaultPasswordPolicy.psm1
- DSCResources\MSFT_ADDomainDefaultPasswordPolicy\MSFT_ADDomainDefaultPasswordPolicy.schema.mof
- DSCResources\MSFT_ADDomainDefaultPasswordPolicy\README.md
- DSCResources\MSFT_ADReplicationSite\README.md
- DSCResources\MSFT_ADReplicationSite\MSFT_ADReplicationSite.schema.mof
- DSCResources\MSFT_ADReplicationSite\MSFT_ADReplicationSite.psm1
- DSCResources\MSFT_ADKDSKey\README.md
- DSCResources\MSFT_ADKDSKey\MSFT_ADKDSKey.psm1
- DSCResources\MSFT_ADKDSKey\MSFT_ADKDSKey.schema.mof
- DSCResources\MSFT_ADReplicationSiteLink\MSFT_ADReplicationSiteLink.psm1
- DSCResources\MSFT_ADReplicationSiteLink\README.md
- DSCResources\MSFT_ADReplicationSiteLink\MSFT_ADReplicationSiteLink.schema.mof
- DSCResources\MSFT_ADDomainFunctionalLevel\README.md
- DSCResources\MSFT_ADDomainFunctionalLevel\MSFT_ADDomainFunctionalLevel.schema.mof
- DSCResources\MSFT_ADDomainFunctionalLevel\MSFT_ADDomainFunctionalLevel.psm1
- DSCResources\MSFT_ADDomainControllerProperties\README.md
- DSCResources\MSFT_ADDomainControllerProperties\MSFT_ADDomainControllerProperties.schema.mof
- DSCResources\MSFT_ADDomainControllerProperties\MSFT_ADDomainControllerProperties.psm1
- DSCResources\MSFT_ADOrganizationalUnit\README.md
- DSCResources\MSFT_ADOrganizationalUnit\MSFT_ADOrganizationalUnit.schema.mof
- DSCResources\MSFT_ADOrganizationalUnit\MSFT_ADOrganizationalUnit.psm1
- DSCResources\MSFT_ADManagedServiceAccount\README.md
- DSCResources\MSFT_ADManagedServiceAccount\MSFT_ADManagedServiceAccount.schema.mof
- DSCResources\MSFT_ADManagedServiceAccount\MSFT_ADManagedServiceAccount.psm1
- DSCResources\MSFT_ADUser\README.md
- DSCResources\MSFT_ADUser\MSFT_ADUser.psm1
- DSCResources\MSFT_ADUser\MSFT_ADUser.schema.mof
- DSCResources\MSFT_ADOptionalFeature\MSFT_ADOptionalFeature.psm1
- DSCResources\MSFT_ADOptionalFeature\README.md
- DSCResources\MSFT_ADOptionalFeature\MSFT_ADOptionalFeature.schema.mof
- DSCResources\MSFT_ADObjectEnabledState\README.md
- DSCResources\MSFT_ADObjectEnabledState\MSFT_ADObjectEnabledState.psm1
- DSCResources\MSFT_ADObjectEnabledState\MSFT_ADObjectEnabledState.schema.mof
- DSCResources\MSFT_ADForestProperties\MSFT_ADForestProperties.schema.mof
- DSCResources\MSFT_ADForestProperties\README.md
- DSCResources\MSFT_ADForestProperties\MSFT_ADForestProperties.psm1
- DSCResources\MSFT_ADGroup\README.md
- DSCResources\MSFT_ADGroup\MSFT_ADGroup.schema.mof
- DSCResources\MSFT_ADGroup\MSFT_ADGroup.psm1
- DSCResources\MSFT_WaitForADDomain\MSFT_WaitForADDomain.psm1
- DSCResources\MSFT_WaitForADDomain\README.md
- DSCResources\MSFT_WaitForADDomain\MSFT_WaitForADDomain.schema.mof
- DSCResources\MSFT_ADDomainController\README.md
- DSCResources\MSFT_ADDomainController\MSFT_ADDomainController.schema.mof
- DSCResources\MSFT_ADDomainController\MSFT_ADDomainController.psm1
- DSCResources\MSFT_ADObjectPermissionEntry\README.md
- DSCResources\MSFT_ADObjectPermissionEntry\MSFT_ADObjectPermissionEntry.schema.mof
- DSCResources\MSFT_ADObjectPermissionEntry\MSFT_ADObjectPermissionEntry.psm1
- DSCResources\MSFT_ADReplicationSubnet\MSFT_ADReplicationSubnet.psm1
- DSCResources\MSFT_ADReplicationSubnet\README.md
- DSCResources\MSFT_ADReplicationSubnet\MSFT_ADReplicationSubnet.schema.mof
- Modules\ActiveDirectoryDsc.Common\en-US\ActiveDirectoryDsc.Common.strings.psd1
- DSCResources\MSFT_ADForestFunctionalLevel\en-US\MSFT_ADForestFunctionalLevel.strings.psd1
- DSCResources\MSFT_ADForestFunctionalLevel\en-US\about_ADForestFunctionalLevel.help.txt
- DSCResources\MSFT_ADDomain\en-US\MSFT_ADDomain.strings.psd1
- DSCResources\MSFT_ADDomain\en-US\about_ADDomain.help.txt
- DSCResources\MSFT_ADServicePrincipalName\en-US\about_ADServicePrincipalName.help.txt
- DSCResources\MSFT_ADServicePrincipalName\en-US\MSFT_ADServicePrincipalName.strings.psd1
- DSCResources\MSFT_ADDomainTrust\en-US\about_ADDomainTrust.help.txt
- DSCResources\MSFT_ADDomainTrust\en-US\MSFT_ADDomainTrust.strings.psd1
- DSCResources\MSFT_ADComputer\en-US\MSFT_ADComputer.strings.psd1
- DSCResources\MSFT_ADComputer\en-US\about_ADComputer.help.txt
- DSCResources\MSFT_ADDomainDefaultPasswordPolicy\en-US\MSFT_ADDomainDefaultPasswordPolicy.strings.psd1
- DSCResources\MSFT_ADDomainDefaultPasswordPolicy\en-US\about_ADDomainDefaultPasswordPolicy.help.txt
- DSCResources\MSFT_ADReplicationSite\en-US\MSFT_ADReplicationSite.strings.psd1
- DSCResources\MSFT_ADReplicationSite\en-US\about_ADReplicationSite.help.txt
- DSCResources\MSFT_ADKDSKey\en-US\about_ADKDSKey.help.txt
- DSCResources\MSFT_ADKDSKey\en-US\MSFT_ADKDSKey.strings.psd1
- DSCResources\MSFT_ADReplicationSiteLink\en-US\about_ADReplicationSiteLink.help.txt
- DSCResources\MSFT_ADReplicationSiteLink\en-US\MSFT_ADReplicationSiteLink.strings.psd1
- DSCResources\MSFT_ADDomainFunctionalLevel\en-US\about_ADDomainFunctionalLevel.help.txt
- DSCResources\MSFT_ADDomainFunctionalLevel\en-US\MSFT_ADDomainFunctionalLevel.strings.psd1
- DSCResources\MSFT_ADDomainControllerProperties\en-US\about_ADDomainControllerProperties.help.txt
- DSCResources\MSFT_ADDomainControllerProperties\en-US\MSFT_ADDomainControllerProperties.strings.psd1
- DSCResources\MSFT_ADOrganizationalUnit\en-US\MSFT_ADOrganizationalUnit.strings.psd1
- DSCResources\MSFT_ADOrganizationalUnit\en-US\about_ADOrganizationalUnit.help.txt
- DSCResources\MSFT_ADManagedServiceAccount\en-US\about_ADManagedServiceAccount.help.txt
- DSCResources\MSFT_ADManagedServiceAccount\en-US\MSFT_ADManagedServiceAccount.strings.psd1
- DSCResources\MSFT_ADUser\en-US\MSFT_ADUser.strings.psd1
- DSCResources\MSFT_ADUser\en-US\about_ADUser.help.txt
- DSCResources\MSFT_ADOptionalFeature\en-US\about_ADOptionalFeature.help.txt
- DSCResources\MSFT_ADOptionalFeature\en-US\MSFT_ADOptionalFeature.strings.psd1
- DSCResources\MSFT_ADObjectEnabledState\en-US\MSFT_ADObjectEnabledState.strings.psd1
- DSCResources\MSFT_ADObjectEnabledState\en-US\about_ADObjectEnabledState.help.txt
- DSCResources\MSFT_ADForestProperties\en-US\MSFT_ADForestProperties.strings.psd1
- DSCResources\MSFT_ADForestProperties\en-US\about_ADForestProperties.help.txt
- DSCResources\MSFT_ADGroup\en-US\about_ADGroup.help.txt
- DSCResources\MSFT_ADGroup\en-US\MSFT_ADGroup.strings.psd1
- DSCResources\MSFT_WaitForADDomain\en-US\MSFT_WaitForADDomain.strings.psd1
- DSCResources\MSFT_WaitForADDomain\en-US\about_WaitForADDomain.help.txt
- DSCResources\MSFT_ADDomainController\en-US\about_ADDomainController.help.txt
- DSCResources\MSFT_ADDomainController\en-US\MSFT_ADDomainController.strings.psd1
- DSCResources\MSFT_ADObjectPermissionEntry\en-US\about_ADObjectPermissionEntry.help.txt
- DSCResources\MSFT_ADObjectPermissionEntry\en-US\MSFT_ADObjectPermissionEntry.strings.psd1
- DSCResources\MSFT_ADReplicationSubnet\en-US\about_ADReplicationSubnet.help.txt
- DSCResources\MSFT_ADReplicationSubnet\en-US\MSFT_ADReplicationSubnet.strings.psd1
Version History
Version | Downloads | Last updated |
---|---|---|
6.6.0 | 30,835 | 9/29/2024 |
6.6.0-previe... | 53 | 9/2/2024 |
6.5.1-previe... | 44 | 8/19/2024 |
6.5.1-previe... | 9 | 8/18/2024 |
6.5.0 | 57,472 | 5/17/2024 |
6.5.0-previe... | 7 | 5/17/2024 |
6.4.1-previe... | 82 | 4/8/2024 |
6.4.0 | 205,834 | 2/14/2024 |
6.4.0-previe... | 10 | 2/14/2024 |
6.3.1-previe... | 16 | 2/12/2024 |
6.3.0 | 381,794 | 8/24/2023 |
6.3.0-previe... | 10 | 8/24/2023 |
6.3.0-previe... | 2,670 | 5/26/2022 |
6.3.0-previe... | 177 | 5/17/2022 |
6.2.0 | 3,634,681 | 5/1/2022 |
6.2.0-previe... | 159 | 5/1/2022 |
6.2.0-previe... | 157 | 5/1/2022 |
6.2.0-previe... | 158 | 5/1/2022 |
6.2.0-previe... | 164 | 4/30/2022 |
6.2.0-previe... | 163 | 4/30/2022 |
6.2.0-previe... | 2,448 | 1/24/2021 |
6.1.0-previe... | 305,658 | 10/10/2020 |
6.1.0-previe... | 636 | 7/13/2020 |
6.1.0-previe... | 294 | 6/30/2020 |
6.1.0-previe... | 194 | 6/23/2020 |
6.1.0-previe... | 232 | 5/2/2020 |
6.1.0-previe... | 191 | 5/2/2020 |
6.0.2-previe... | 187 | 5/2/2020 |
6.0.2-previe... | 202 | 4/27/2020 |
6.0.2-previe... | 194 | 4/26/2020 |
6.0.2-previe... | 193 | 4/25/2020 |
6.0.1 | 1,314,000 | 4/16/2020 |
6.0.1-previe... | 199 | 4/9/2020 |
6.0.1-previe... | 226 | 3/12/2020 |
6.0.0 | 10,067 | 3/12/2020 |
6.0.0-previe... | 189 | 3/11/2020 |
6.0.0-previe... | 190 | 3/10/2020 |
6.0.0-previe... | 189 | 3/9/2020 |
6.0.0-previe... | 189 | 3/9/2020 |
6.0.0-previe... | 191 | 3/9/2020 |
6.0.0-previe... | 189 | 3/9/2020 |
6.0.0-previe... | 189 | 3/9/2020 |
6.0.0-previe... | 195 | 2/28/2020 |
6.0.0-previe... | 199 | 2/12/2020 |
5.1.0-previe... | 194 | 2/10/2020 |
5.1.0-previe... | 190 | 2/8/2020 |
5.1.0-previe... | 192 | 2/7/2020 |
5.1.0-previe... | 190 | 2/5/2020 |
5.1.0-previe... | 195 | 1/20/2020 |
5.0.0 | 15,017 | 1/14/2020 |
5.0.0-previe... | 190 | 1/14/2020 |
5.0.0-previe... | 190 | 1/13/2020 |
5.0.0-previe... (current version) | 189 | 1/12/2020 |
5.0.0-previe... | 189 | 1/12/2020 |
5.0.0-previe... | 189 | 1/12/2020 |
5.0.0-previe... | 191 | 1/10/2020 |
4.2.0.0 | 20,891 | 10/30/2019 |
4.1.0.0 | 10,934 | 9/19/2019 |
4.0.0.0 | 9,104 | 8/8/2019 |