Skip to content

Commit d83be2a

Browse files
committed
Formatting updates
1 parent f4019df commit d83be2a

File tree

4 files changed

+28
-40
lines changed

4 files changed

+28
-40
lines changed

docset/winserver2022-ps/smbshare/Reset-SmbClientConfiguration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: SmbClientConfiguration.cdxml-help.xml
44
Module Name: SmbShare
5-
ms.date: 06/23/2022
5+
ms.date: 06/24/2022
66
online version: http://go.microsoft.com/fwlink/?LinkID=241959
77
schema: 2.0.0
88
title: Reset-SmbClientConfiguration
@@ -44,10 +44,10 @@ default values.
4444
### Example 1: Reset the large MTU behavior
4545

4646
```powershell
47-
Reset-SmbClientConfiguration -EnableLargeMtu
47+
Reset-SmbClientConfiguration -EnableLargeMtu -Confirm:$false
4848
```
4949

50-
This commands resets only the large MTU behavior to its default value.
50+
This commands resets only the large MTU behavior to its default value without user confirmation.
5151

5252
## PARAMETERS
5353

docset/winserver2022-ps/smbshare/Reset-SmbServerConfiguration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: SmbServerConfiguration.cdxml-help.xml
44
Module Name: SmbShare
5-
ms.date: 06/23/2022
5+
ms.date: 06/24/2022
66
online version: http://go.microsoft.com/fwlink/?LinkID=241959
77
schema: 2.0.0
88
title: Reset-SmbServerConfiguration
@@ -49,10 +49,11 @@ and [[MS-SMB2]:Server Message Block (SMB) Protocol Versions 2 and3](/openspecs/w
4949
### Example 1: Reset the unencrypted access behavior
5050

5151
```powershell
52-
Reset-SmbServerConfiguration -RejectUnencryptedAccess
52+
Reset-SmbServerConfiguration -RejectUnencryptedAccess -Confirm:$false
5353
```
5454

55-
This commands resets only the unencrypted access behavior to its default value.
55+
This commands resets only the unencrypted access behavior to its default value without user
56+
confirmation.
5657

5758
## PARAMETERS
5859

docset/winserver2022-ps/smbshare/Set-SmbClientConfiguration.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: SmbClientConfiguration.cdxml-help.xml
44
Module Name: SmbShare
5-
ms.date: 06/23/2022
5+
ms.date: 06/24/2022
66
online version: https://docs.microsoft.com/powershell/module/smbshare/set-smbclientconfiguration?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-SmbClientConfiguration
@@ -51,23 +51,16 @@ The `Set-SmbClientConfiguration` cmdlet sets the Server Message Block (SMB) clie
5151
Set-SmbClientConfiguration -ConnectionCountPerRssNetworkInterface 8 -Confirm:$false
5252
```
5353

54-
This command sets the SMB client configuration.
55-
56-
### Example 2: Set the SMB client configuration without confirmation
57-
58-
```powershell
59-
Set-SmbClientConfiguration -ConnectionCountPerRssNetworkInterface 4 -Force
60-
```
61-
6254
This command sets the SMB client configuration without user confirmation.
6355

64-
### Example 3: Specify encryption ciphers
56+
### Example 2: Specify encryption ciphers
6557

6658
```powershell
67-
Set-SmbClientConfiguration -EncryptionCiphers "AES_128_GCM, AES_256_GCM"
59+
Set-SmbClientConfiguration -EncryptionCiphers "AES_128_GCM, AES_256_GCM" -Confirm:$false
6860
```
6961

70-
This command specifies the encryption ciphers used by the SMB client, and the preferred order.
62+
This command specifies the encryption ciphers used by the SMB client, and the preferred order
63+
without user confirmation.
7164

7265
## PARAMETERS
7366

docset/winserver2022-ps/smbshare/Set-SmbServerConfiguration.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: SmbServerConfiguration.cdxml-help.xml
44
Module Name: SmbShare
5-
ms.date: 06/23/2022
5+
ms.date: 06/24/2022
66
online version: /powershell/module/smbshare/set-smbserverconfiguration?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-SmbServerConfiguration
@@ -59,55 +59,49 @@ and [[MS-SMB2]:Server Message Block (SMB) Protocol Versions 2 and 3](/openspecs/
5959
Set-SmbServerConfiguration -MaxChannelPerSession 16 -Confirm:$false
6060
```
6161

62-
This command sets the SMB Service configuration.
63-
64-
### Example 2: Set the SMB Service configuration without confirmation
65-
66-
```powershell
67-
Set-SmbServerConfiguration -MaxChannelPerSession 32 -Force
68-
```
69-
7062
This command sets the SMB Service configuration without user confirmation.
7163

72-
### Example 3: Turn on SMB signing and encryption
64+
### Example 2: Turn on SMB signing and encryption
7365

7466
```powershell
75-
Set-SmbServerConfiguration -RequireSecuritySignature $True -EnableSecuritySignature $True -EncryptData $True -Confirm:$false
67+
Set-SmbServerConfiguration -RequireSecuritySignature $True -EnableSecuritySignature $True
68+
-EncryptData $True -Confirm:$false
7669
```
7770

78-
This command turns on SMB signing and encryption.
71+
This command turns on SMB signing and encryption without user confirmation.
7972

80-
### Example 4: Turn off the default server and workstations shares
73+
### Example 3: Turn off the default server and workstations shares
8174

8275
```powershell
8376
Set-SmbServerConfiguration -AutoShareServer $False -AutoShareWorkstation $False -Confirm:$false
8477
```
8578

86-
This command turns off the default server and workstations shares.
79+
This command turns off the default server and workstations shares without user confirmation.
8780

88-
### Example 5: Turn off server announcements
81+
### Example 4: Turn off server announcements
8982

9083
```powershell
9184
Set-SmbServerConfiguration -ServerHidden $False -AnnounceServer $False -Confirm:$false
9285
```
9386

94-
This command turns off server announcements.
87+
This command turns off server announcements without user confirmation.
9588

96-
### Example 6: Turn off SMB1
89+
### Example 5: Turn off SMB1
9790

9891
```powershell
99-
Set-SmbServerConfiguration -EnableSMB1Protocol $false
92+
Set-SmbServerConfiguration -EnableSMB1Protocol $false -Confirm:$false
10093
```
10194

102-
This command disables SMB1 on the SMB server.
95+
This command disables SMB1 on the SMB server without user confirmation.
10396

104-
### Example 7: Specify encryption ciphers
97+
### Example 6: Specify encryption ciphers
10598

10699
```powershell
107-
Set-SmbServerConfiguration -EncryptionCiphers "AES_128_GCM, AES_256_GCM"
100+
Set-SmbServerConfiguration -EncryptionCiphers "AES_128_GCM, AES_256_GCM" -Confirm:$false
108101
```
109102

110-
This command specifies the encryption ciphers used by the SMB client, and the preferred order.
103+
This command specifies the encryption ciphers used by the SMB client, and the preferred order
104+
without user confirmation.
111105

112106
## PARAMETERS
113107

0 commit comments

Comments
 (0)