Add-ADDSReadOnlyDomainControllerAccount

Add-ADDSReadOnlyDomainControllerAccount

Creates a read-only domain controller (RODC) account that can be used to install an RODC in Active Directory.

Syntaxe

Parameter Set: ADDSReadOnlyDomainControllerAccount
Add-ADDSReadOnlyDomainControllerAccount -DomainControllerAccountName <String> -DomainName <String> -SiteName <String> [-AllowPasswordReplicationAccountName <String[]> ] [-Credential <PSCredential> ] [-DelegatedAdministratorAccountName <String> ] [-DenyPasswordReplicationAccountName <String[]> ] [-Force] [-InstallDns] [-NoGlobalCatalog] [-ReplicationSourceDC <String> ] [-SkipPreChecks] [-Confirm] [-WhatIf] [ <CommonParameters>]

Description détaillée

The Add-ADDSReadOnlyDomainControllerAccount cmdlet creates a read-only domain controller (RODC) account that can be used to install an RODC in Active Directory.

Paramètres

-AllowPasswordReplicationAccountName<String[]>

Specifies the names of user accounts, group accounts, and computer accounts whose passwords can be replicated to this RODC. Use "None" if you want to keep the value empty. By default, only the Allowed RODC Password Replication Group is allowed, and it is originally created empty.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

NULL

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Credential<PSCredential>

Specifies the user name and password that corresponds to the account used to install the domain controller. Specify "(get-credential)" when using this parameter to prompt the user to supply a password.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

NULL

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-DelegatedAdministratorAccountName<String>

Specifies the name of the user or group that will install and administer the RODC.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

NULL

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-DenyPasswordReplicationAccountName<String[]>

Specifies the names of user accounts, group accounts, and computer accounts whose passwords are not to be replicated to this RODC. Use "None" if you do not want to deny the replication of credentials of any users or computers. By default, Administrators, Server Operators, Backup Operators, Account Operators, and the Denied RODC Password Replication Group are denied. By default, the Denied RODC Password Replication Group includes Cert Publishers, Domain Admins, Enterprise Admins, Enterprise Domain Controllers, Enterprise Read-Only Domain Controllers, Group Policy Creator Owners, the krbtgt account, and Schema Admins.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

NULL

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-DomainControllerAccountName<String>

Specifies the name of the RODC account that you are creating.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

<mandatory>

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-DomainName<String>

Specifies the domain name for the user name (account credentials) for the operation. This parameter is required. It also helps to specify the forest where you plan to install the domain controller or create an RODC account.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

<mandatory>

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Force

Forces completion of the cmdlet even if issues are found in the process of creating the RODC account.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-InstallDns

Specifies whether the DNS Server service should be installed. If no value is provided, the default behavior is to automatically compute DNS configuration behavior based upon the existing environment.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

NULL

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-NoGlobalCatalog

Specifies that the read-only domain controller (RODC) will not be a global catalog server.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-ReplicationSourceDC<String>

Specifies the name of the domain controller to be used as the source for replicating to this RODC.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

NULL

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-SiteName<String>

Specifies the name of an existing site where you can place the new domain controller.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

<mandatory>

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-SkipPreChecks

Specifies that only a base set of validations will be performed when this cmdlet is executed. This behavior is equivalent to the validations that were performed when using Dcpromo.exe in earlier versions of Windows Server to add a domain controller. When this switch parameter is set, it specifies that additional preliminary checks should be bypassed. For more information on the scope of these additional preliminary checks that the ADDSDeployment module performs by default when using Windows Server 2012, refer to the table in the section "Prerequisite Checking" in the Understand and Troubleshoot AD DS Simplified Administration in Windows Server 2012 guide located at https://go.microsoft.com/fwlink/?LinkID=237244.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Confirm

Votre confirmation sera requise avant l’exécution de l’applet de commande.

Obligatoire ?

false

Position ?

named

Valeur par défaut

false

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-WhatIf

Présente les conséquences éventuelles de l’exécution de l’applet de commande. L’applet de commande n’est pas exécutée.

Obligatoire ?

false

Position ?

named

Valeur par défaut

false

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

Remarques

  • Once you have added the RODC account, you can add an RODC to a server computer by using the Install-ADDSDomainController cmdlet with the -ReadOnlyReplica switch parameter.

  • You can also delegate the ability to attach the server to a non-administrative group or user. If you are deploying RODCs in delegated administration scenarios where the machine accounts are pre-provisioned, creating the RODC account is the first stage of the RODC installation process and needs to be done by a member of the Domain Admins group. In these scenarios, once an administrator uses this cmdlet to add the RODC account in Active Directory Domain Services (AD DS), the second stage of the installation can occur. This involves attaching an actual server computer in a remote location (such as a branch office) that will operate as the RODC for the specified account created using this cmdlet.

Exemples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

Adds a new read-only domain controller (RODC) account to the corp.contoso.com domain using the North America site as the source site for the replication source domain controller.

PS C:\> Add-ADDSReadOnlyDomainControllerAccount -DomainControllerAccountName RODC1 -DomainName corp.contoso.com -SiteName NorthAmerica

Rubriques connexes

Install-ADDSDomainController