Test-ADDSReadOnlyDomainControllerAccountCreation
Test-ADDSReadOnlyDomainControllerAccountCreation
Runs the prerequisites (only) for adding a read-only domain controller (RODC) account.
구문
Parameter Set: ADDSReadOnlyDomainControllerAccount
Test-ADDSReadOnlyDomainControllerAccountCreation -DomainControllerAccountName <String> -DomainName <String> -SiteName <String> [-AllowPasswordReplicationAccountName <String[]> ] [-Credential <PSCredential> ] [-DelegatedAdministratorAccountName <String> ] [-DenyPasswordReplicationAccountName <String[]> ] [-Force] [-InstallDns] [-NoGlobalCatalog] [-ReplicationSourceDC <String> ] [ <CommonParameters>]
자세한 설명
The Test-ADDSReadOnlyDomainControllerAccountCreation cmdlet runs the prerequisite checks (only) which would be performed if you were to add a read-only domain controller (RODC) account in Active Directory using the Add-ADDSReadOnlyDomainControllerAccount cmdlet. It differs from using the -WhatIf parameter with the Add-ADDSReadOnlyDomainControllerAccount cmdlet in that instead of summarizing the changes that would occur during the account creation process, this cmdlet actually tests whether those changes are possible given the current environment.
매개 변수
-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.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
NULL |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
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.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
NULL |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-DelegatedAdministratorAccountName<String>
Specifies the name of the user or group that will install and administer the RODC.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
NULL |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
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.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
NULL |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-DomainControllerAccountName<String>
Specifies the name of the RODC account that you are creating.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
<mandatory> |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
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.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
<mandatory> |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Force
Forces completion of the cmdlet even if issues are found in the process of creating the RODC account.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-InstallDns
Specifies whether the DNS Server service should be installed. The default is automatically computed based on the environment.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
NULL |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-NoGlobalCatalog
Specifies that the read-only domain controller (RODC) will not be a global catalog server.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ReplicationSourceDC<String>
Specifies the name of the fully writable domain controller to use in creating the RODC account in Active Directory.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
NULL |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-SiteName<String>
Specifies the name of an existing site where you can place the new domain controller. The default value depends on the type of installation. For a new forest, the default is Default-First-Site-Name. For all other installations, the default is the site that is associated with the subnet that includes the IP address of this server. If no such site exists, the default is the site of the replication source domain controller.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
<mandatory> |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
Runs the prerequisites (only) for adding an RODC account to the corp.contoso.com domain that would use the North America site as the source site for the replication source domain controller.
PS C:\> Test-ADDSReadOnlyDomainControllerAccountCreation -DomainControllerAccuntName RODC1 -DomainName corp.contoso.com -SiteName NorthAmerica