CmdID / PowerShell / Cmdlets / Test
Test-ADDSDomainControllerInstallation
Runs the prerequisites (only) for installing a domain controller in Active Directory. Windows Server PowerShell reference
From the Windows Server PowerShell reference 28 parameters Its page in the reference
Parameters
Show its 28 parameters
-ADPrepCredentialSpecifies the user name and password that corresponds to the account to be used for running operations (if they are required) to prepare Active Directory prior to the installation of this domain.-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 replicates.-CreateDnsDelegationIndicates that the cmdlet creates a DNS delegation that references the new DNS server that you are installing 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 an array of 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 that the cmdlet installs and configures the DNS Server service on the domain controller.-InstallationMediaPathSpecifies 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 instance, C:\Windows\Logs.-MoveInfrastructureOperationMasterRoleIfNecessaryIndicates that the cmdlet transfers the infrastructure master role to the domain controller that you create in case the transfer is needed.-NoDnsOnNetworkIndicates that the DNS service is not available on the network.-NoGlobalCatalogIndicates that the read-only domain controller (RODC) is not 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 this 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 DNS client settings, forwarders, and root hints.-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.