ActiveDirectoryDsc

6.7.1-preview0006

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

5.0

This is a prerelease version of ActiveDirectoryDsc.

Installation Options

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

Install-Module -Name ActiveDirectoryDsc -AllowPrerelease

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

Install-PSResource -Name ActiveDirectoryDsc -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 ADFineGrainedPasswordPolicy ADForestFunctionalLevel ADForestProperties ADGroup ADKDSKey ADManagedServiceAccount ADObjectEnabledState ADObjectPermissionEntry ADOptionalFeature ADOrganizationalUnit ADReadOnlyDomainControllerAccount ADReplicationSite ADReplicationSiteLink ADReplicationSubnet ADServicePrincipalName ADUser WaitForADDomain

Dependencies

This module has no dependencies.

Release Notes

## [6.7.1-preview0006] - 2025-11-25

### Added

- ADReadOnlyDomainControllerAccount
 - Added read-only value Enabled indicating whether a pre-staged account is Enabled or Disabled (Unoccupied).
- `ActiveDirectoryDsc`
 - Added strings.psd1 for HQRM compliance.
- `ADObjectPermissionEntry`
 - The "ObjectType" parameter now supports the display name of the object to which
   the access rule applies, in addition to the schema GUID.
   ([issue #744](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/744)).
 - The "InheritedObjectType" parameter now supports the display name of the object
   type that can inherit this access rule, in addition to the schema GUID.
   ([issue #744](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/744)).
- ADDomain
 - Skip LCM reboot signal if `SuppressReboot` parameter is set to `true`
   ([issue #742](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/742)).

### Removed

- All Resources
 - Removed about_*.help.txt from sources as these are now generated at build time.
- `ActiveDirectoryDsc.Common`
 - `Test-DscPropertyState` now provided by `DscResource.Common`.
 - `Compare-ResourcePropertyState` now provided by `DscResource.Common`.

### Changed

- `build.ps1`
 - Update to latest Sampler version.
- `Resolve-Dependency.ps1`
 - Update to latest Sampler version.
- `Resolve-Dependency.psd1`
 - Update to latest Sampler version.
 - Enable ModuleFast.
- `RequiredModules.psd1`
 - Add PlatyPS fixes [#714](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/714).
 - Indented.ScriptAnalyzerRules.
- `analyzersettings.psd1`
 - Update to latest dsccommunity version.
- `ActiveDirectory.psd1`
 - Fix formatting.
 - Clear DscResourcesToExport as this is overwritten by ModuleBuilder.
 - Add RootModule.
- `build.yaml`
 - Add doc generation.
 - Move module to buildModule directory.
 - Add wiki to release assets.
- `ActiveDirectoryDsc`
 - Migrate tests to Pester 5.
 - Add VSCode settings for Pester Extension.

### Fixed

- ADObjectPermissionEntry
 - Fixed Get-TargetResource to return valid ActiveDirectoryRights when ACE is absent.
- ADDomain
 - Report domain exists in `Get-TargetResource` during pending DC promotion reboot.
   ([issue #742](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/742)).
- ADDomainController
 - Check the operating system to see if it is a domain controller before locating the
   domain controller object.
   Fixes [issue #747](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/747).
 - Updated documentation to reflect parameters that should not be used with UseExistingAccount.
 - Additional guards against null properties when getting DelegatedAdministratorAccountName.
- ActiveDirectoryDsc.Common
 - Removed operating system check from Get-DomainControllerObject and moved into ADDomainController above.

FileList

Version History

Version Downloads Last updated
6.7.1-previe... (current version) 15 11/25/2025
6.7.1-previe... 5 11/25/2025
6.7.1-previe... 6 11/25/2025
6.7.1-previe... 464 10/16/2025
6.7.1-previe... 30 9/25/2025
6.7.1-previe... 165 5/29/2025
6.7.0 447,608 5/29/2025
6.7.0-previe... 21 5/22/2025
6.7.0-previe... 7 5/20/2025
6.7.0-previe... 16 5/9/2025
6.7.0-previe... 87 3/31/2025
6.6.2 136,281 3/17/2025
6.6.2-previe... 5 3/17/2025
6.6.1 2,359 3/15/2025
6.6.1-previe... 5 3/15/2025
6.6.1-previe... 5 3/15/2025
6.6.0 225,871 9/29/2024
6.6.0-previe... 55 9/2/2024
6.5.1-previe... 46 8/19/2024
6.5.1-previe... 11 8/18/2024
6.5.0 57,612 5/17/2024
6.5.0-previe... 9 5/17/2024
6.4.1-previe... 84 4/8/2024
6.4.0 206,002 2/14/2024
6.4.0-previe... 12 2/14/2024
6.3.1-previe... 18 2/12/2024
6.3.0 384,784 8/24/2023
6.3.0-previe... 12 8/24/2023
6.3.0-previe... 3,092 5/26/2022
6.3.0-previe... 179 5/17/2022
6.2.0 3,654,344 5/1/2022
6.2.0-previe... 161 5/1/2022
6.2.0-previe... 159 5/1/2022
6.2.0-previe... 160 5/1/2022
6.2.0-previe... 166 4/30/2022
6.2.0-previe... 165 4/30/2022
6.2.0-previe... 2,536 1/24/2021
6.1.0-previe... 305,692 10/10/2020
6.1.0-previe... 640 7/13/2020
6.1.0-previe... 296 6/30/2020
6.1.0-previe... 196 6/23/2020
6.1.0-previe... 234 5/2/2020
6.1.0-previe... 193 5/2/2020
6.0.2-previe... 189 5/2/2020
6.0.2-previe... 204 4/27/2020
6.0.2-previe... 196 4/26/2020
6.0.2-previe... 195 4/25/2020
6.0.1 1,974,218 4/16/2020
6.0.1-previe... 201 4/9/2020
6.0.1-previe... 228 3/12/2020
6.0.0 10,100 3/12/2020
6.0.0-previe... 191 3/11/2020
6.0.0-previe... 192 3/10/2020
6.0.0-previe... 191 3/9/2020
6.0.0-previe... 191 3/9/2020
6.0.0-previe... 193 3/9/2020
6.0.0-previe... 191 3/9/2020
6.0.0-previe... 191 3/9/2020
6.0.0-previe... 197 2/28/2020
6.0.0-previe... 201 2/12/2020
5.1.0-previe... 197 2/10/2020
5.1.0-previe... 192 2/8/2020
5.1.0-previe... 194 2/7/2020
5.1.0-previe... 192 2/5/2020
5.1.0-previe... 197 1/20/2020
5.0.0 15,020 1/14/2020
5.0.0-previe... 192 1/14/2020
5.0.0-previe... 192 1/13/2020
5.0.0-previe... 191 1/12/2020
5.0.0-previe... 191 1/12/2020
5.0.0-previe... 191 1/12/2020
5.0.0-previe... 193 1/10/2020
4.2.0.0 20,910 10/30/2019
4.1.0.0 10,941 9/19/2019
4.0.0.0 9,109 8/8/2019
Show more