Skip to content
dscbot edited this page May 17, 2024 · 25 revisions

Welcome to the ActiveDirectoryDsc wiki

ActiveDirectoryDsc v6.5.0

Here you will find all the information you need to make use of the ActiveDirectoryDsc DSC resources in the latest release. This includes details of the resources that are available, current capabilities and known issues, and information to help plan a DSC based implementation of ActiveDirectoryDsc.

Please leave comments, feature requests, and bug reports for this module in the issues section for this repository.

Deprecated resources

The documentation, examples, unit test, and integration tests have been removed for these deprecated resources. These resources will be removed in a future release.

No deprecated resources.

Getting started

To get started either:

  • Install from the PowerShell Gallery using PowerShellGet by running the following command:
Install-Module -Name ActiveDirectoryDsc -Repository PSGallery
  • Download ActiveDirectoryDsc from the PowerShell Gallery and then unzip it to one of your PowerShell modules folders (such as $env:ProgramFiles\WindowsPowerShell\Modules).

To confirm installation, run the below command and ensure you see the ActiveDirectoryDsc DSC resources available:

Get-DscResource -Module ActiveDirectoryDsc

Prerequisites

Powershell

The minimum Windows Management Framework (PowerShell) version required is 5.0 or higher, which ships with Windows 10 or Windows Server 2016, but can also be installed on Windows 7 SP1, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2.

Active Directory PowerShell module

The Active Directory PowerShell module must be installed.

For Windows Server the Active Directory PowerShell module can be installed using the following command:

 Install-WindowsFeature -Name 'RSAT-AD-PowerShell'

For Windows 10, the Active Directory PowerShell module can be installed using the following command:

DISM /Online /add-capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

Change log

A full list of changes in each version can be found in the change log.