Skip to content

Commit 0ef9790

Browse files
authored
Merge branch 'main' into Update_SmbClientAccessToServer
2 parents 9c0b4eb + 2c22164 commit 0ef9790

File tree

5 files changed

+520
-234
lines changed

5 files changed

+520
-234
lines changed

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

+13-5
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Accept wildcard characters: False
268268
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session
269269
object, such as the output of a
270270
[New-CimSession](/powershell/module/cimcmdlets/new-cimsession) or
271-
[Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet. The default is the
271+
[Get-CimSession](/powershell/module/cimcmdlets/get-cimsession) cmdlet. The default is the
272272
current session on the local computer.
273273
274274
```yaml
@@ -853,12 +853,20 @@ Accept wildcard characters: False
853853

854854
### -SmbServerNameHardeningLevel
855855

856-
Specifies the SMB Service name hardening level.
856+
Controls the level of validation that a server performs on the service principal name (SPN) that is
857+
provided by the client device when the client establishes a session using Server Message Block
858+
(SMB). The acceptable values are:
859+
860+
- `0`: Don't enforce SPN check.
861+
- `1`: Allow clients who didn't provide the target, but fail those who do provide the target and it
862+
doesn't match.
863+
- `2`: Only allow clients who supply matching targets.
857864

858865
```yaml
859866
Type: UInt32
860867
Parameter Sets: (All)
861868
Aliases:
869+
Accepted values: 0, 1, 2
862870
863871
Required: False
864872
Position: Named
@@ -1005,7 +1013,7 @@ Accept wildcard characters: False
10051013
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
10061014
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
10071015
-WarningAction, and -WarningVariable. For more information, see
1008-
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
1016+
[about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
10091017

10101018
## INPUTS
10111019

@@ -1019,6 +1027,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
10191027

10201028
## RELATED LINKS
10211029

1022-
[Get-SmbServerConfiguration](./Get-SmbServerConfiguration.md)
1030+
[Get-SmbServerConfiguration](Get-SmbServerConfiguration.md)
10231031

1024-
[Reset-SmbServerConfiguration](./Reset-SmbServerConfiguration.md)
1032+
[Reset-SmbServerConfiguration](Reset-SmbServerConfiguration.md)

0 commit comments

Comments
 (0)