CmdID / PowerShell / Cmdlets / Install
Install-ADDSDomainController
Installs a new domain controller in an Active Directory domain. Windows Server PowerShell reference
From the Windows Server PowerShell reference 31 parameters Its page in the reference
Parameters
Show its 31 parameters
-ADPrepCredentialSpecifies the user name and password that corresponds to the account to be used for running the Adprep utility, if it is required, to prepare the directory prior to the installation of this domain co…-AllowDomainControllerReinstallIndicates that the cmdlet continues to install this domain controller, despite the fact that another domain controller account with the same name is detected.-AllowPasswordReplicationAccountNameSpecifies an array of names of user accounts, group accounts, and computer accounts whose passwords can be replicated to this RODC.-ApplicationPartitionsToReplicateSpecifies an array of application directory partitions that DCPromo will replicate.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreateDnsDelegationIndicates that the cmdlet creates a DNS delegation that references the new DNS server that this cmdlet installs along with the domain controller.-CredentialSpecifies the user name and password that corresponds to the account used to install the domain controller.-CriticalReplicationOnlyIndicates that the cmdlet performs only critical replication before reboot and then continues during the AD DS installation operation.-DatabasePathSpecifies the fully qualified, non-Universal Naming Convention (UNC) path to a directory on a fixed disk of the local computer that will contain the domain database, for instance, C:\Windows\NTDS.-DelegatedAdministratorAccountNameSpecifies the name of the user or group that is the delegated administrator of this domain controller.-DenyPasswordReplicationAccountNameSpecifies the names of user accounts, group accounts, and computer accounts whose passwords are not to be replicated to this RODC.-DnsDelegationCredentialSpecifies the user name and password for creating DNS delegation.-DomainNameSpecifies the fully qualified domain name (FQDN) for the domain where the domain controller is installed or added.-ForceForces the command to run without asking for user confirmation.-InstallDnsIndicates the cmdlet installs and configures the DNS Server service on the domain controller.-InstallationMediaPathIndicates the location of the installation media that is used to install a new domain controller.-LogPathSpecifies the fully qualified, non-UNC path to a directory on a fixed disk of the local computer that will contain the domain log files, for example, C:\Windows\Logs.-MoveInfrastructureOperationMasterRoleIfNecessaryIndicates that the cmdlet transfers the infrastructure master role to the domain controller being installed.-NoDnsOnNetworkIndicates that the DNS service is not available on the network.-NoGlobalCatalogIndicates that the RODC will not be a global catalog server.-NoRebootOnCompletionIndicates that the cmdlet does not restart the computer upon the completion of the operation to install the domain controller.-ReadOnlyReplicaIndicates that the cmdlet installs the domain controller as an RODC for an existing domain.-ReplicationSourceDCSpecifies the name of the domain controller to be used as the source for replicating to this domain controller.-SafeModeAdministratorPasswordSupplies the password for the administrator account when the computer is started in Safe Mode or a variant of Safe Mode, such as Directory Services Restore Mode.-SiteNameSpecifies the name of an existing site where you can place the new domain controller.-SkipAutoConfigureDnsIndicates that the cmdlet skips automatic configuration of the DNS client settings, forwarders, and root hints.-SkipPreChecksIndicates that the cmdlet performs only a base set of validations.-SystemKeySpecifies the system key for the media from which you replicate the data.-SysvolPathSpecifies the fully qualified, non-UNC path to a directory on a fixed disk of the local computer that will contain the Sysvol data, for example, C:\Windows\SYSVOL.-UseExistingAccountIndicates that the cmdlet attaches a server to an existing RODC account.-WhatIf, -wiShows what would happen if the cmdlet runs.