Skip to content

Commit b91270a

Browse files
author
Angela Fleischmann
authored
Merge pull request MicrosoftDocs#3421 from MicrosoftDocs/main
Publish 05/02/2023 3:30 PM PDT
2 parents 2ced239 + 744772a commit b91270a

38 files changed

+2427
-1320
lines changed

docset/winserver2022-ps/adcsdeployment/Install-AdcsCertificationAuthority.md

+139-53
Large diffs are not rendered by default.

docset/winserver2022-ps/addsdeployment/Install-ADDSDomain.md

+184-102
Large diffs are not rendered by default.

docset/winserver2022-ps/addsdeployment/Test-ADDSDomainControllerInstallation.md

+237-142
Large diffs are not rendered by default.

docset/winserver2022-ps/addsdeployment/Test-ADDSDomainControllerUninstallation.md

+104-56
Large diffs are not rendered by default.

docset/winserver2022-ps/addsdeployment/Test-ADDSDomainInstallation.md

+177-96
Large diffs are not rendered by default.

docset/winserver2022-ps/addsdeployment/Test-ADDSForestInstallation.md

+140-83
Large diffs are not rendered by default.

docset/winserver2022-ps/addsdeployment/Test-ADDSReadOnlyDomainControllerAccountCreation.md

+72-42
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,48 @@ Runs the prerequisites for adding a RODC account.
1616
## SYNTAX
1717

1818
```
19-
Test-ADDSReadOnlyDomainControllerAccountCreation -DomainControllerAccountName <String> -DomainName <String>
20-
-SiteName <String> [-AllowPasswordReplicationAccountName <String[]>] [-Credential <PSCredential>]
21-
[-DelegatedAdministratorAccountName <String>] [-DenyPasswordReplicationAccountName <String[]>]
22-
[-NoGlobalCatalog] [-InstallDns] [-ReplicationSourceDC <String>] [-Force] [<CommonParameters>]
19+
Test-ADDSReadOnlyDomainControllerAccountCreation -DomainControllerAccountName <String>
20+
-DomainName <String> -SiteName <String> [-AllowPasswordReplicationAccountName <String[]>]
21+
[-Credential <PSCredential>] [-DelegatedAdministratorAccountName <String>]
22+
[-DenyPasswordReplicationAccountName <String[]>] [-NoGlobalCatalog] [-InstallDns]
23+
[-ReplicationSourceDC <String>] [-Force] [<CommonParameters>]
2324
```
2425

2526
## DESCRIPTION
26-
The **Test-ADDSReadOnlyDomainControllerAccountCreation** cmdlet runs the prerequisite checks which would be performed if you were to add a read-only domain controller (RODC) account in Active Directory using the Add-ADDSReadOnlyDomainControllerAccount cmdlet.
27-
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.
27+
28+
The `Test-ADDSReadOnlyDomainControllerAccountCreation` cmdlet runs the prerequisite checks which
29+
would be performed if you were to add a read-only domain controller (RODC) account in Active
30+
Directory using the `Add-ADDSReadOnlyDomainControllerAccount` cmdlet. It differs from using the
31+
**WhatIf** parameter with the `Add-ADDSReadOnlyDomainControllerAccount` cmdlet in that instead of
32+
summarizing the changes that would occur during the account creation process, this cmdlet actually
33+
tests whether those changes are possible given the current environment.
2834

2935
## EXAMPLES
3036

3137
### Example 1: Test adding an RODC account to confirm it is possible
32-
```
33-
PS C:\> Test-ADDSReadOnlyDomainControllerAccountCreation -DomainControllerAccountName RODC1 -DomainName "corp.contoso.com" -SiteName "NorthAmerica"
38+
39+
```powershell
40+
$HashArguments = @{
41+
DomainControllerAccountName = RODC1
42+
DomainName = "corp.contoso.com"
43+
SiteName = "NorthAmerica"
44+
}
45+
Test-ADDSReadOnlyDomainControllerAccountCreation @HashArguments
3446
```
3547

36-
This command runs the prerequisites 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.
48+
This command runs the prerequisites for adding an RODC account to the `corp.contoso.com` domain that
49+
would use the North America site as the source site for the replication source domain controller.
3750

3851
## PARAMETERS
3952

4053
### -AllowPasswordReplicationAccountName
41-
Specifies the names of user accounts, group accounts, and computer accounts whose passwords can be replicated to this RODC.
42-
Use None if you want to keep the value empty.
43-
By default, only the Allowed RODC Password Replication Group is allowed, and it is originally created empty.
54+
55+
Specifies the names of user accounts, group accounts, and computer accounts whose passwords can be
56+
replicated to this RODC. Use `None` if you want to keep the value empty. By default, only the
57+
Allowed RODC Password Replication Group is allowed, and it is originally created empty.
4458

4559
```yaml
46-
Type: String[]
60+
Type: System.String[]
4761
Parameter Sets: (All)
4862
Aliases:
4963

@@ -55,11 +69,12 @@ Accept wildcard characters: False
5569
```
5670
5771
### -Credential
58-
Specifies the user name and password that corresponds to the account used to install the domain controller.
59-
Use the **Get-Credential** cmdlet to prompt the user to supply a password.
72+
73+
Specifies the user name and password that corresponds to the account used to install the domain
74+
controller. Use the `Get-Credential` cmdlet to prompt the user to supply a password.
6075

6176
```yaml
62-
Type: PSCredential
77+
Type: System.Management.Automation.PSCredential
6378
Parameter Sets: (All)
6479
Aliases:
6580
@@ -71,10 +86,11 @@ Accept wildcard characters: False
7186
```
7287

7388
### -DelegatedAdministratorAccountName
89+
7490
Specifies the name of the user or group that installs and administer the RODC.
7591

7692
```yaml
77-
Type: String
93+
Type: System.String
7894
Parameter Sets: (All)
7995
Aliases:
8096
@@ -86,13 +102,17 @@ Accept wildcard characters: False
86102
```
87103

88104
### -DenyPasswordReplicationAccountName
89-
Specifies the names of user accounts, group accounts, and computer accounts whose passwords are not to be replicated to this RODC.
90-
Use None if you do not want to deny the replication of credentials of any users or computers.
91-
By default, Administrators, Server Operators, Backup Operators, Account Operators, and the Denied RODC Password Replication Group are denied.
92-
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.
105+
106+
Specifies the names of user accounts, group accounts, and computer accounts whose passwords are not
107+
to be replicated to this RODC. Use `None` if you do not want to deny the replication of credentials
108+
of any users or computers. By default, Administrators, Server Operators, Backup Operators, Account
109+
Operators, and the Denied RODC Password Replication Group are denied. By default, the Denied RODC
110+
Password Replication Group includes Cert Publishers, Domain Admins, Enterprise Admins, Enterprise
111+
Domain Controllers, Enterprise Read-Only Domain Controllers, Group Policy Creator Owners, the
112+
krbtgt account, and Schema Admins.
93113

94114
```yaml
95-
Type: String[]
115+
Type: System.String[]
96116
Parameter Sets: (All)
97117
Aliases:
98118
@@ -104,10 +124,11 @@ Accept wildcard characters: False
104124
```
105125

106126
### -DomainControllerAccountName
127+
107128
Specifies the name of the RODC account that this cmdlet creates.
108129

109130
```yaml
110-
Type: String
131+
Type: System.String
111132
Parameter Sets: (All)
112133
Aliases:
113134
@@ -119,12 +140,12 @@ Accept wildcard characters: False
119140
```
120141

121142
### -DomainName
122-
Specifies the domain name for the user name for the operation.
123-
This parameter is required.
124-
You should specify the forest where you plan to install the domain controller or create an RODC account.
143+
144+
Specifies the domain name for the user name for the operation. This parameter is required. You
145+
should specify the forest where you plan to install the domain controller or create an RODC account.
125146

126147
```yaml
127-
Type: String
148+
Type: System.String
128149
Parameter Sets: (All)
129150
Aliases:
130151
@@ -136,10 +157,11 @@ Accept wildcard characters: False
136157
```
137158

138159
### -Force
160+
139161
Forces the command to run without asking for user confirmation.
140162

141163
```yaml
142-
Type: SwitchParameter
164+
Type: System.Management.Automation.SwitchParameter
143165
Parameter Sets: (All)
144166
Aliases:
145167
@@ -151,11 +173,12 @@ Accept wildcard characters: False
151173
```
152174

153175
### -InstallDns
154-
Indicates that the cmdlet installs the DNS Server service.
155-
The default is automatically computed based on the environment.
176+
177+
Indicates that the cmdlet installs the DNS Server service. The default is automatically computed
178+
based on the environment.
156179

157180
```yaml
158-
Type: SwitchParameter
181+
Type: System.Management.Automation.SwitchParameter
159182
Parameter Sets: (All)
160183
Aliases:
161184
@@ -167,10 +190,11 @@ Accept wildcard characters: False
167190
```
168191

169192
### -NoGlobalCatalog
193+
170194
Indicates that the RODC is not a global catalog server.
171195

172196
```yaml
173-
Type: SwitchParameter
197+
Type: System.Management.Automation.SwitchParameter
174198
Parameter Sets: (All)
175199
Aliases:
176200
@@ -182,10 +206,12 @@ Accept wildcard characters: False
182206
```
183207

184208
### -ReplicationSourceDC
185-
Specifies the name of the fully writable domain controller to use in the creation of the RODC account in Active Directory.
209+
210+
Specifies the name of the fully writable domain controller to use in the creation of the RODC
211+
account in Active Directory.
186212

187213
```yaml
188-
Type: String
214+
Type: System.String
189215
Parameter Sets: (All)
190216
Aliases:
191217
@@ -197,14 +223,15 @@ Accept wildcard characters: False
197223
```
198224

199225
### -SiteName
200-
Specifies the name of an existing site where you can place the new domain controller.
201-
The default value depends on the type of installation.
202-
For a new forest, the default is Default-First-Site-Name.
203-
For all other installations, the default is the site that is associated with the subnet that includes the IP address of this server.
204-
If no such site exists, the default is the site of the replication source domain controller.
226+
227+
Specifies the name of an existing site where you can place the new domain controller. The default
228+
value depends on the type of installation. For a new forest, the default is
229+
`Default-First-Site-Name`. For all other installations, the default is the site that is associated
230+
with the subnet that includes the IP address of this server. If no such site exists, the default is
231+
the site of the replication source domain controller.
205232

206233
```yaml
207-
Type: String
234+
Type: System.String
208235
Parameter Sets: (All)
209236
Aliases:
210237
@@ -216,7 +243,11 @@ Accept wildcard characters: False
216243
```
217244

218245
### CommonParameters
219-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
246+
247+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
248+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
249+
-WarningAction, and -WarningVariable. For more information, see
250+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
220251

221252
## INPUTS
222253

@@ -229,4 +260,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
229260
[Add-ADDSReadOnlyDomainControllerAccount](./Add-ADDSReadOnlyDomainControllerAccount.md)
230261

231262
[Get-Credential](https://go.microsoft.com/fwlink/?LinkID=293936)
232-

0 commit comments

Comments
 (0)