May 2019
Intermediate to advanced
620 pages
21h 41m
English
For the Active Directory Module for Windows PowerShell, Microsoft does not offer a dedicated PowerShell cmdlet to add a read-only domain controller. Instead, Install-ADDSDomainController is used with the dedicated -ReadOnlyReplica parameter. The simplest script would look like the following code:
Import-Module ADDSDeploymentInstall-WindowsFeature AD-Domain-Services -IncludeManagementToolsInstall-ADDSDomainController -DomainName lucernpub.com -Sitename RemoteLocation -ReadOnlyReplica
However, to add a read-only domain controller to an existing domain as you would in the previous examples, the following script would be needed:
Import-Module ADDSDeploymentInstall-WindowsFeature AD-Domain-Services ...
Read now
Unlock full access