Skip to content

Commit 4f44e7a

Browse files
authored
Merge branch 'master' into patch-2
2 parents 1764928 + e9df5e2 commit 4f44e7a

File tree

11 files changed

+104
-59
lines changed

11 files changed

+104
-59
lines changed

docset/windows/addsadministration/new-adserviceaccount.md

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Creates a new Active Directory managed service account or group managed service
2626
## SYNTAX
2727

2828
### Group (Default)
29-
```
29+
```yaml
3030
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
3131
[-AuthenticationPolicy <ADAuthenticationPolicy>] [-AuthenticationPolicySilo <ADAuthenticationPolicySilo>]
3232
[-AuthType <ADAuthType>] [-Certificates <String[]>] [-CompoundIdentitySupported <Boolean>]
@@ -40,7 +40,7 @@ New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-
4040
```
4141

4242
### RestrictedToSingleComputer
43-
```
43+
```yaml
4444
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
4545
[-AccountPassword <SecureString>] [-AuthenticationPolicy <ADAuthenticationPolicy>]
4646
[-AuthenticationPolicySilo <ADAuthenticationPolicySilo>] [-AuthType <ADAuthType>] [-Certificates <String[]>]
@@ -52,7 +52,7 @@ New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-
5252
```
5353

5454
### RestrictedToOutboundAuthenticationOnly
55-
```
55+
```yaml
5656
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
5757
[-AuthenticationPolicy <ADAuthenticationPolicy>] [-AuthenticationPolicySilo <ADAuthenticationPolicySilo>]
5858
[-AuthType <ADAuthType>] [-Certificates <String[]>] [-Credential <PSCredential>] [-Description <String>]
@@ -92,28 +92,28 @@ Then pass these objects through the pipeline to the **New-ADServiceAccount** cmd
9292
## EXAMPLES
9393

9494
### Example 1: Create an enabled managed service account
95-
```
95+
```Powershell
9696
PS C:\> New-ADServiceAccount -Name "Service01" -DNSHostName "Service01.contoso.com" -Enabled $True
9797
```
9898

9999
This command creates an enabled managed service account in Active Directory Domain Services (AD DS).
100100

101101
### Example 2: Create a managed service account and register its service principal name
102-
```
102+
```Powershell
103103
PS C:\> New-ADServiceAccount -Name "Service01" -ServicePrincipalNames "MSSQLSVC/Machine3.corp.contoso.com" -DNSHostName "Service01.contoso.com"
104104
```
105105

106106
This command creates a managed service account and registers its service principal name.
107107

108108
### Example 3: Create a managed service account for a single computer
109-
```
109+
```Powershell
110110
PS C:\> New-ADServiceAccount -Name "Service01" -RestrictToSingleComputer
111111
```
112112

113113
This command creates a managed service account and restricts its use to a single computer.
114114

115115
### Example 4: Create a managed service account for outbound authentication only
116-
```
116+
```Powershell
117117
PS C:\> New-ADServiceAccount -Name "Service01" -RestrictToOutboundAuthenticationOnly
118118
```
119119

@@ -756,6 +756,37 @@ Specifies the service principal names for the account.
756756
This parameter sets the **ServicePrincipalNames** property of the account.
757757
The LDAP display name (**ldapDisplayName**) for this property is servicePrincipalName.
758758

759+
To add values:
760+
761+
```Powershell
762+
-ServicePrincipalNames @{Add=value1,value2,...}
763+
```
764+
765+
To remove values:
766+
```Powershell
767+
-ServicePrincipalNames @{Remove=value1,value2,...}
768+
```
769+
770+
To replace values:
771+
```Powershell
772+
-ServicePrincipalNames @{Replace=value1,value2,...}
773+
```
774+
775+
To clear all values:
776+
```Powershell
777+
-ServicePrincipalNames $null
778+
```
779+
780+
You can specify more than one change by using a list separated by semicolons.
781+
For example, use the following syntax to add and remove service principal names.
782+
783+
`@{Add=value1,value2,...};@{Remove=value3,value4,...}`
784+
785+
The operators are applied in the following sequence:
786+
787+
- Remove
788+
- Add
789+
- Replace
759790

760791
```yaml
761792
Type: String[]

docset/windows/addsdeployment/uninstall-addsdomaincontroller.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ Accept wildcard characters: False
256256
```
257257
258258
### -RemoveDnsDelegation
259-
Specifies whether to preserve DNS delegations that point to this DNS server from the parent DNS zone.
260259
261-
By default, this parameter is set to False, which means DNS delegations that point to this server from the parent DNS zone will not be retained after uninstallation of the domain controller.
260+
Specifies whether to preserve DNS delegation that point to this DNS server from the parent DNS Zone. If you use this parameter, DNS delegations that point to this server from the parent DNS zone will not be retained after uninstallation of the domain controller.
262261
This setting corresponds to the earlier Dcpromo.exe parameter default of /RemoveDNSDelegation:Yes.
263262
264263
```yaml

docset/windows/dhcpserver/set-dhcpserverauditlog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Accept wildcard characters: False
147147
```
148148
149149
### -MaxMBFileSize
150-
Specifies the maximum size of the audit log, in megabytes (MB).
150+
Specifies the maximum disk space available for all DHCP service audit log files, in megabytes (MB).
151151
152152
```yaml
153153
Type: UInt32

docset/windows/dism/new-windowsimage.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ Accept wildcard characters: False
8585
### -CompressionType
8686
Specifies the type of compression used for the initial capture operation:
8787
88-
- The maximum option provides the best compression, but takes more time to capture the image.
89-
- The fast option provides faster image compression, but the resulting files are larger than those compressed by using the maximum option.
90-
This is also the default compression type that is used if you do not specify the argument.
91-
- The none option does not compress the captured image at all.
88+
- **Max** = This option provides the best compression but takes more time to capture the image.
89+
- **Fast** = This option provides faster image compression but the resulting files are larger than those compressed using the maximum (max) option.
90+
- **None** = This option does not compress the captured image at all.
9291
93-
the *CompressionType* parameter does not apply when you export an image to an existing .wim file, you can only use this CompressionType when you export an image to a new .wim file.
92+
The *CompressionType* parameter does not apply when you export an image to an existing .wim file, you can only use this CompressionType when you export an image to a new .wim file.
9493
9594
```yaml
9695
Type: String
@@ -99,7 +98,7 @@ Aliases:
9998

10099
Required: False
101100
Position: Named
102-
Default value: None
101+
Default value: Fast
103102
Accept pipeline input: True (ByPropertyName)
104103
Accept wildcard characters: False
105104
```

docset/windows/fileserverresourcemanager/new-fsrmstoragereport.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ PS C:\> $d = Get-Date "12:00am"
5151
5252
# This second command returns a **FsrmScheduledTask** object that describes a schedule that runs the task at midnight on the first day
5353
# of the month. The command stores results in the $task variable.
54-
PS C:\> $task = New-FsrmScheduledTask -Time $d.ToFileTimeUtc() -Monthly 1
54+
PS C:\> $task = New-FsrmScheduledTask -Time $d -Monthly 1
5555
5656
# The third command creates a LargeFiles storage report named "Find large files" on C:\Shares.
5757
# The command sets the schedule for the report stored in the $task variable, and limits the
@@ -69,7 +69,7 @@ PS C:\> $d = get-date "12:00am"
6969
# This second command returns an **FsrmScheduledTask** object that describes a schedule
7070
# that runs the task at midnight on the first day of the month. The command stores results in
7171
# the $task variable.
72-
PS C:\> $task = new-FsrmScheduledTask -Time $d.ToFileTimeUtc() -Monthly 1
72+
PS C:\> $task = new-FsrmScheduledTask -Time $d -Monthly 1
7373
7474
# The third command creates a LargeFiles storage report named "Find large files" that generates a
7575
# Large Files report on any folders whose Folder Usage property includes the User Data value.
@@ -88,7 +88,7 @@ PS C:\> $d = get-date "12:00am"
8888
# This second command returns a **FsrmScheduledTask** object that describes a schedule that
8989
# runs the task at midnight on the first day of the month. The command stores results in
9090
# the $task variable.
91-
PS C:\> $task = new-FsrmScheduledTask -Time $d.ToFileTimeUtc() -Monthly 1
91+
PS C:\> $task = new-FsrmScheduledTask -Time $d -Monthly 1
9292
9393
# The third command creates a storage report named "Find large files" and file groups on th
9494
# folder C:\Shares. The command sets the schedule for the report stored in the $task variable,

docset/windows/storage/get-partitionsupportedsize.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ Get-PartitionSupportedSize -InputObject <CimInstance[]> [-CimSession <CimSession
5555
```
5656

5757
## DESCRIPTION
58-
The **Get-PartitionSupportedSizes** cmdlet returns information on supported partition sizes for the specified Disk object.
58+
The **Get-PartitionSupportedSize** cmdlet returns information on supported partition sizes for the specified Disk object.
5959

6060
## EXAMPLES
6161

6262
### Example 1
6363
```
64-
PS C:\>Get-PartitionSupportedSizes -DiskNumber 3 -PartitionNumber 2
65-
MinimumSize MaximumSize
66-
----------- -----------
64+
PS C:\>Get-PartitionSupportedSize -DiskNumber 3 -PartitionNumber 2
65+
SizeMin SizeMax
66+
----------- -----------
6767
```
6868

6969
This example is not fully implemented and does not include size values.

docset/windows/storage/get-physicaldisk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Accept wildcard characters: False
193193
```
194194
195195
### -HealthStatus
196-
Specifies the health status of physical disks to get.
196+
Specifies the **health status** of physical disks.
197197
The acceptable values for this parameter are:
198198
199199
- Healthy

docset/winserver2012-ps/activedirectory/New-ADServiceAccount.md

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Creates a new Active Directory managed service account or group managed service
1717
## SYNTAX
1818

1919
### Group (Default)
20-
```
20+
```yaml
2121
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
2222
[-AuthType <ADAuthType>] [-Certificates <String[]>] [-CompoundIdentitySupported <Boolean>]
2323
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] -DNSHostName <String>
@@ -30,7 +30,7 @@ New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-
3030
```
3131

3232
### RestrictedToSingleComputer
33-
```
33+
```yaml
3434
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
3535
[-AccountPassword <SecureString>] [-AuthType <ADAuthType>] [-Certificates <String[]>]
3636
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>]
@@ -41,7 +41,7 @@ New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-
4141
```
4242

4343
### RestrictedToOutboundAuthenticationOnly
44-
```
44+
```yaml
4545
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
4646
[-AuthType <ADAuthType>] [-Certificates <String[]>] [-Credential <PSCredential>] [-Description <String>]
4747
[-DisplayName <String>] [-Enabled <Boolean>] [-HomePage <String>] [-Instance <ADServiceAccount>]
@@ -79,7 +79,7 @@ Then pass these objects through the pipeline to the New-ADServiceAccount cmdlet
7979
## EXAMPLES
8080

8181
### -------------------------- EXAMPLE 1 --------------------------
82-
```
82+
```Powershell
8383
C:\PS>New-ADServiceAccount service1 -DNSHostName service1.contoso.com -Enabled $true
8484
```
8585

@@ -90,7 +90,7 @@ Description
9090
Create a new enabled managed service account in AD DS.
9191

9292
### -------------------------- EXAMPLE 2 --------------------------
93-
```
93+
```Powershell
9494
C:\PS>New-ADServiceAccount service1 -ServicePrincipalNames "MSSQLSVC/Machine3.corp.contoso.com" -DNSHostName service1.contoso.com
9595
```
9696

@@ -101,7 +101,7 @@ Description
101101
Create a new managed service account and register its service principal name.
102102

103103
### -------------------------- EXAMPLE 3 --------------------------
104-
```
104+
```Powershell
105105
C:\PS>New-ADServiceAccount service1 -RestrictToSingleComputer
106106
```
107107

@@ -112,7 +112,7 @@ Description
112112
Create a new managed service account and restrict its use to only a single computer.
113113

114114
### -------------------------- EXAMPLE 4 --------------------------
115-
```
115+
```Powershell
116116
C:\PS>New-ADServiceAccount service1 -RestrictToOutboundAuthenticationOnly
117117
```
118118

@@ -297,11 +297,9 @@ For example, use the following syntax to add and remove Certificate values
297297
298298
The operators will be applied in the following sequence:
299299
300-
..Remove
301-
302-
..Add
303-
304-
..Replace
300+
- Remove
301+
- Add
302+
- Replace
305303
306304
The following example shows how to create a certificate by using the New-Object cmdlet, and then add it to a user account.
307305
When this cmdlet is run, \<certificate password\> is replaced by the password used to add the certificate.
@@ -878,32 +876,38 @@ Accept wildcard characters: False
878876
879877
### -ServicePrincipalNames
880878
Specifies the service principal names for the account.
881-
This parameter sets the ServicePrincipalNames property of the account.
882-
The LDAP display name (ldapDisplayName) for this property is servicePrincipalName.
879+
This parameter sets the **ServicePrincipalNames** property of the account.
880+
The LDAP display name (**ldapDisplayName**) for this property is servicePrincipalName.
883881
This parameter uses the following syntax to add remove, replace or clear service principal name values.
884882
885883
Syntax:
886884
887885
To add values:
888886
889-
-ServicePrincipalNames @{Add=value1,value2,...}
890-
891-
To remove values:
892-
893-
-ServicePrincipalNames @{Remove=value3,value4,...}
887+
```Powershell
888+
-ServicePrincipalNames @{Add=value1,value2,...}
889+
```
894890

895-
To replace values:
891+
To remove values: To remove values:
892+
```Powershell
893+
-ServicePrincipalNames @{Remove=value3,value4,...}
894+
```
896895

897-
-ServicePrincipalNames @{Replace=value1,value2,...}
896+
To replace values: To replace values:
897+
```Powershell
898+
-ServicePrincipalNames @{Replace=value1,value2,...}
899+
```
898900

899-
To clear all values:
900901

901-
-ServicePrincipalNames $null
902+
To clear all values: To clear all values:
903+
```Powershell
904+
-ServicePrincipalNames $null
905+
```
902906

903907
You can specify more than one change by using a list separated by semicolons.
904908
For example, use the following syntax to add and remove service principal names.
905909

906-
@{Add=value1,value2,...};@{Remove=value3,value4,...}
910+
`@{Add=value1,value2,...};@{Remove=value3,value4,...}`
907911

908912
The operators will be applied in the following sequence:
909913

docset/winserver2012-ps/storage/Get-PhysicalDisk.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,14 @@ Accept wildcard characters: False
172172
```
173173
174174
### -HealthStatus
175-
Gets only physical disks in the specified state.
176-
Valid values are **Healthy**, **Unhealthy**, **Unknown**, or **Warning**.
175+
Specifies the **health status** of physical disks.
176+
The acceptable values for this parameter are:
177+
178+
- Healthy
179+
- Unhealthy
180+
- Unknown
181+
- Warning
182+
-
177183
178184
```yaml
179185
Type: HealthStatus[]

0 commit comments

Comments
 (0)