Skip to content

Commit 5b1df90

Browse files
Apply suggestions from review
1 parent 3e03d58 commit 5b1df90

10 files changed

+48
-65
lines changed

docset/winserver2022-ps/activedirectory/Add-ADCentralAccessPolicyMember.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ $params = @{
3838
Add-ADCentralAccessPolicyMember @params
3939
```
4040

41-
This command adds the central access rules Finance Documents Rule and Corporate Documents Rule to
42-
the central access policy Finance Policy.
41+
This command adds the central access rules `Finance Documents Rule` and `Corporate Documents Rule`
42+
to the central access policy Finance Policy.
4343

4444
### EXAMPLE 2
4545

@@ -238,8 +238,7 @@ Accept wildcard characters: False
238238

239239
### -WhatIf
240240

241-
Shows what would happen if the cmdlet runs.
242-
The cmdlet is not run.
241+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
243242

244243
```yaml
245244
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Add-ADComputerServiceAccount.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ account by its distinguished name, GUID, Security Identifier (SID) or Security A
4040
`$<localServiceAccountObject>`. If you are specifying more than one account, use a comma-separated
4141
list.
4242

43-
> {!NOTE]
43+
> [!NOTE]
4444
> Adding a service account is a different operation than installing the service account locally.
4545
4646
## EXAMPLES
@@ -290,8 +290,7 @@ Accept wildcard characters: False
290290

291291
### -WhatIf
292292

293-
Shows what would happen if the cmdlet runs.
294-
The cmdlet is not run.
293+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
295294

296295
```yaml
297296
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Add-ADDomainControllerPasswordReplicationPolicy.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ Accept wildcard characters: False
116116
117117
### -AuthType
118118
119-
Specifies the authentication method to use.
120-
The acceptable values for this parameter are:
119+
Specifies the authentication method to use. The acceptable values for this parameter are:
121120
122121
- `Negotiate` or `0`
123122
- `Basic` or `1`

docset/winserver2022-ps/activedirectory/Add-ADFineGrainedPasswordPolicySubject.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ name is `Fuller`.
8787

8888
### -AuthType
8989

90-
Specifies the authentication method to use.
91-
The acceptable values for this parameter are:
90+
Specifies the authentication method to use. The acceptable values for this parameter are:
9291

9392
- `Negotiate` or `0`
9493
- `Basic` or `1`
@@ -230,8 +229,8 @@ Accept wildcard characters: False
230229

231230
### -PassThru
232231

233-
Returns an object representing the item with which you are working.
234-
By default, this cmdlet does not generate any output.
232+
Returns an object representing the item with which you are working. By default, this cmdlet does
233+
not generate any output.
235234

236235
```yaml
237236
Type: System.Management.Automation.SwitchParameter
@@ -287,9 +286,8 @@ Accept wildcard characters: False
287286

288287
### -Subjects
289288

290-
Specifies one or more users or groups.
291-
To specify more than one user or group, use a comma-separated list.
292-
You can identify a user or group by one of the following property values:
289+
Specifies one or more users or groups. To specify more than one user or group, use a
290+
comma-separated list. You can identify a user or group by one of the following property values:
293291

294292
- Distinguished name (DN)
295293
- GUID (**objectGUID**)
@@ -314,8 +312,7 @@ Accept wildcard characters: False
314312

315313
### -WhatIf
316314

317-
Shows what would happen if the cmdlet runs.
318-
The cmdlet is not run.
315+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
319316

320317
```yaml
321318
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Add-ADGroupMember.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ group `CN=AccountLeads,OU=UserAccounts` in the Europe domain.
101101

102102
### -AuthType
103103

104-
Specifies the authentication method to use.
105-
The acceptable values for this parameter are:
104+
Specifies the authentication method to use. The acceptable values for this parameter are:
106105

107106
- `Negotiate` or `0`
108107
- `Basic` or `1`
@@ -329,8 +328,8 @@ Accept wildcard characters: False
329328

330329
### -PassThru
331330

332-
Returns an object representing the item with which you are working.
333-
By default, this cmdlet does not generate any output.
331+
Returns an object representing the item with which you're working. By default, this cmdlet doesn't
332+
generate any output.
334333

335334
```yaml
336335
Type: System.Management.Automation.SwitchParameter
@@ -386,8 +385,7 @@ Accept wildcard characters: False
386385

387386
### -WhatIf
388387

389-
Shows what would happen if the cmdlet runs.
390-
The cmdlet is not run.
388+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
391389

392390
```yaml
393391
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Add-ADPrincipalGroupMembership.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ property of the Active Directory directory service agent object (nTDSDSA) for th
5454

5555
## EXAMPLES
5656

57-
### EXAMPLE 1
57+
### Example 1: Add a member to a group
5858

5959
```powershell
6060
Add-ADPrincipalGroupMembership -Identity SQLAdmin1 -MemberOf DlgtdAdminsPSOGroup
6161
```
6262

6363
This command adds the user with SAM account name `SQLAdmin1` to the group `DlgtdAdminsPSOGroup`.
6464

65-
### EXAMPLE 2
65+
### Example 2: Add filtered users to a group
6666

6767
```powershell
6868
Get-ADUser -Filter 'Name -like "*SvcAccount*"' |
@@ -72,7 +72,7 @@ Get-ADUser -Filter 'Name -like "*SvcAccount*"' |
7272
This command gets all users with `SvcAccount` in their name and adds them to the group
7373
`SvcAccPSOGroup`.
7474

75-
### EXAMPLE 3
75+
### Example 3: Add filtered users to a distinguished name group
7676

7777
```powershell
7878
$params = @{
@@ -91,8 +91,7 @@ This command adds all employees in `Branch1` in the AD LDS instance `localhost:6
9191

9292
### -AuthType
9393

94-
Specifies the authentication method to use.
95-
The acceptable values for this parameter are:
94+
Specifies the authentication method to use. The acceptable values for this parameter are:
9695

9796
- `Negotiate` or `0`
9897
- `Basic` or `1`
@@ -279,8 +278,8 @@ Accept wildcard characters: False
279278

280279
### -PassThru
281280

282-
Returns an object representing the item with which you are working.
283-
By default, this cmdlet does not generate any output.
281+
Returns an object representing the item with which you're working. By default, this cmdlet doesn't
282+
generate any output.
284283

285284
```yaml
286285
Type: System.Management.Automation.SwitchParameter
@@ -336,8 +335,7 @@ Accept wildcard characters: False
336335

337336
### -WhatIf
338337

339-
Shows what would happen if the cmdlet runs.
340-
The cmdlet is not run.
338+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
341339

342340
```yaml
343341
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Add-ADResourcePropertyListMember.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ property list in Active Directory.
2828

2929
## EXAMPLES
3030

31-
### EXAMPLE 1
31+
### Example 1: Add members to a resource property list
3232

3333
```powershell
3434
$params = @{
@@ -41,7 +41,7 @@ Add-ADResourcePropertyListMember @params
4141
This command adds the resource members named `Country` and `Authors` to the list named
4242
`Global Resource Property List`.
4343

44-
### EXAMPLE 2
44+
### Example 2: Add members to a filtered resource property list
4545

4646
```powershell
4747
Get-ADResourcePropertyList -Filter "Name -like 'Corporate*'" |
@@ -56,8 +56,7 @@ and `Authors` to it.
5656

5757
### -AuthType
5858

59-
Specifies the authentication method to use.
60-
The acceptable values for this parameter are:
59+
Specifies the authentication method to use. The acceptable values for this parameter are:
6160

6261
- `Negotiate` or `0`
6362
- `Basic` or `1`
@@ -175,8 +174,8 @@ Accept wildcard characters: False
175174

176175
### -PassThru
177176

178-
Returns an object representing the item with which you are working.
179-
By default, this cmdlet does not generate any output.
177+
Returns an object representing the item with which you're working. By default, this cmdlet doesn't
178+
generate any output.
180179

181180
```yaml
182181
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Clear-ADAccountExpiration.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ instance.
4646

4747
## EXAMPLES
4848

49-
### EXAMPLE 1
49+
### Example 1: Clear an account expiration date for a specified user
5050

5151
```powershell
5252
Clear-ADAccountExpiration -Identity PattiFuller
5353
```
5454

5555
This command clears the account expiration date for the user with SamAccountName `PattiFuller`.
5656

57-
### EXAMPLE 2
57+
### Example 2: Clear an account expiration date by using a distinguished name
5858

5959
```powershell
6060
Clear-ADAccountExpiration -Identity 'CN=PattiFuller,DC=AppNC' -Server 'PATTIFU-SVR1:60000'
@@ -67,8 +67,7 @@ This command clears the account expiration date for the user with DistinguishedN
6767

6868
### -AuthType
6969

70-
Specifies the authentication method to use.
71-
The acceptable values for this parameter are:
70+
Specifies the authentication method to use. The acceptable values for this parameter are:
7271

7372
- `Negotiate` or `0`
7473
- `Basic` or `1`
@@ -217,8 +216,8 @@ Accept wildcard characters: False
217216

218217
### -PassThru
219218

220-
Returns an object representing the item with which you are working.
221-
By default, this cmdlet does not generate any output.
219+
Returns an object representing the item with which you're working. By default, this cmdlet doesn't
220+
generate any output.
222221

223222
```yaml
224223
Type: System.Management.Automation.SwitchParameter
@@ -274,8 +273,7 @@ Accept wildcard characters: False
274273

275274
### -WhatIf
276275

277-
Shows what would happen if the cmdlet runs.
278-
The cmdlet is not run.
276+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
279277

280278
```yaml
281279
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Clear-ADClaimTransformLink.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ more cross-forest trust relationships in Active Directory.
3030

3131
## EXAMPLES
3232

33-
### EXAMPLE 1
33+
### Example 1: Remove a specified policy from a trust relationship
3434

3535
```powershell
3636
Clear-ADClaimTransformLink -Identity 'corp.contoso.com' -Policy DenyAllPolicy
3737
```
3838

3939
This command removes the policy named `DenyAllPolicy` from the `corp.contoso.com` trust.
4040

41-
### EXAMPLE 2
41+
### Example 2: Remove all policies that are applied to a trusted forest
4242

4343
```powershell
4444
Clear-ADClaimTransformLink -Identity 'corp.contoso.com' -TrustRole Trusted
@@ -48,7 +48,7 @@ This command removes any policies that are applied to where this forest acts as
4848
in the `corp.contoso.com` trust. Effectively, this cmdlet removes any policies that are applied to
4949
claims flowing out of this forest towards it trust partner.
5050

51-
### EXAMPLE 3
51+
### Example 3: Remove a claim transformation policy from being applied to the trust relationship
5252

5353
```powershell
5454
$params = @{
@@ -67,8 +67,7 @@ claims coming into this from its trust partner.
6767

6868
### -AuthType
6969

70-
Specifies the authentication method to use.
71-
The acceptable values for this parameter are:
70+
Specifies the authentication method to use. The acceptable values for this parameter are:
7271

7372
- `Negotiate` or `0`
7473
- `Basic` or `1`
@@ -161,8 +160,8 @@ Accept wildcard characters: False
161160

162161
### -PassThru
163162

164-
Returns an object representing the item with which you are working.
165-
By default, this cmdlet does not generate any output.
163+
Returns an object representing the item with which you're working. By default, this cmdlet doesn't
164+
generate any output.
166165

167166
```yaml
168167
Type: System.Management.Automation.SwitchParameter
@@ -255,8 +254,7 @@ Accept wildcard characters: False
255254

256255
### -WhatIf
257256

258-
Shows what would happen if the cmdlet runs.
259-
The cmdlet is not run.
257+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
260258

261259
```yaml
262260
Type: System.Management.Automation.SwitchParameter

docset/winserver2022-ps/activedirectory/Disable-ADAccount.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ instance.
4646

4747
## EXAMPLES
4848

49-
### EXAMPLE 1
49+
### Example 1: Disable an account by identity
5050

5151
```powershell
5252
Disable-ADAccount -Identity PattiFul
5353
```
5454

5555
This command disables the account with identity SAMAccountName `PattiFul`.
5656

57-
### EXAMPLE 2
57+
### Example 2: Disable an account by Distinguished Name
5858

5959
```powershell
6060
Disable-ADAccount -Identity 'CN=Patti Fuller,OU=Finance,OU=Users,DC=FABRIKAM,DC=COM'
@@ -63,7 +63,7 @@ Disable-ADAccount -Identity 'CN=Patti Fuller,OU=Finance,OU=Users,DC=FABRIKAM,DC=
6363
This command disables the account with DistinguishedName
6464
`CN=Patti Fuller,OU=Finance,OU=Users,DC=FABRIKAM,DC=COM`.
6565

66-
### EXAMPLE 3
66+
### Example 3: Disable all accounts in an organizational unit
6767

6868
```powershell
6969
Get-ADUser -Filter 'Name -like "*"' -SearchBase "OU=Finance,OU=Users,DC=FABRIKAM,DC=COM" |
@@ -77,8 +77,7 @@ This command disables all accounts in the organizational unit
7777

7878
### -AuthType
7979

80-
Specifies the authentication method to use.
81-
The acceptable values for this parameter are:
80+
Specifies the authentication method to use. The acceptable values for this parameter are:
8281

8382
- `Negotiate` or `0`
8483
- `Basic` or `1`
@@ -227,8 +226,8 @@ Accept wildcard characters: False
227226

228227
### -PassThru
229228

230-
Returns an object representing the item with which you are working.
231-
By default, this cmdlet does not generate any output.
229+
Returns an object representing the item with which you're working. By default, this cmdlet doesn't
230+
generate any output.
232231

233232
```yaml
234233
Type: System.Management.Automation.SwitchParameter
@@ -284,8 +283,7 @@ Accept wildcard characters: False
284283

285284
### -WhatIf
286285

287-
Shows what would happen if the cmdlet runs.
288-
The cmdlet is not run.
286+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
289287

290288
```yaml
291289
Type: System.Management.Automation.SwitchParameter

0 commit comments

Comments
 (0)