ActiveDirectoryDsc

6.2.0-preview0001

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.
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 6.2.0-preview0001 -AllowPrerelease

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

Install-PSResource -Name ActiveDirectoryDsc -Version 6.2.0-preview0001 -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 ADReplicationSite ADReplicationSiteLink ADServicePrincipalName ADUser WaitForADDomain ADReplicationSubnet

Dependencies

This module has no dependencies.

Release Notes

## [6.2.0-preview0001] - 2021-01-24

### Changed

- ADGroup
 - Refactored Module.
 - Refactored Unit and Integration Tests.

### Added

- ADGroup
 - Added support for managing AD group membership of Foreign Security Principals. This involved completely
   refactoring group membership management to utilize the `Set-ADGroup` cmdlet and referencing SID values.
   ([issue #619](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/619)).
- ADFineGrainedPasswordPolicy
 - New resource for creating and updating Fine Grained Password Policies for AD principal subjects.
   ([issue #584](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/584)).

### Changed

- ActiveDirectoryDsc
 - Renamed `master` branch to `main` ([issue #641](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/641)).
 - Migrated to DscResource.Common Module.
 - Fixed the pipeline paths trigger.
 - Migrated HQRM and Unit Tests to use PowerShell 7 in the CI pipeline.
 - Changed CI pipeline to use PublishPipelineArtifact & DownloadPipelineArtifact.
 - Removed redundant common functions `Resolve-DomainFQDN` and `Set-DscADComputer`.
 - Added ActiveDirectoryDsc.Common Module markdown help.
 - Updated the `DscResource.Common` module to `v0.9.0`.
- ADDomainTrust
 - Move `Get-ActiveDirectoryDomain` and `Get-ActiveDirectoryForest` functions
   into the `ActiveDirectoryDsc.Common` module.
- ADReplicationSiteLink
 - Refactor Test-TargetResource Function.

### Fixed

- ActiveDirectoryDsc
 - The component `gitversion` that is used in the pipeline was wrongly configured
   when the repository moved to the new default branch `main`. It no longer throws
   an error when using newer versions of GitVersion.
 - Fixed the CI pipeline by pinning the `Pester` module to `v4.10.1`
 - Restored importing the `DscResource.Common` module import in the `ActiveDirectoryDsc.Common` module that was
   incorrectly disabled.
   ([issue #612](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/612)).
- ADDomainController
 - Fixed `Test-TargetResource` error when the `ReadOnlyReplica` property is set to `true`
   ([issue #611](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/611)).
- ADGroup
 - Fixed issue with retrieving group members using `Get-ADGroupMember` when members are from another domain
   by adding and using the 'Members' property from `Get-ADGroup` and sending the resulting DistinguishedName to
   `Get-ADObject` when `Get-ADGroupMember` throws a specific error.
   ([issue #616](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/616)).
- ADOrganizationalUnit
 - Removed Credential from the list of desired values to compare when passed
   ([issue #624](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/624)).
- ADReplicationSiteLink
 - Fixed setting options after the resource is initially created
   ([issue #605](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/605)).

FileList

Version History

Version Downloads Last updated
6.6.0 59,228 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,490 5/17/2024
6.5.0-previe... 7 5/17/2024
6.4.1-previe... 82 4/8/2024
6.4.0 205,841 2/14/2024
6.4.0-previe... 10 2/14/2024
6.3.1-previe... 16 2/12/2024
6.3.0 382,026 8/24/2023
6.3.0-previe... 10 8/24/2023
6.3.0-previe... 2,704 5/26/2022
6.3.0-previe... 177 5/17/2022
6.2.0 3,637,338 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... (current version) 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,320,299 4/16/2020
6.0.1-previe... 199 4/9/2020
6.0.1-previe... 226 3/12/2020
6.0.0 10,069 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... 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,105 8/8/2019
Show less