@@ -26,53 +26,63 @@ The **Get-SmbServerConfiguration** cmdlet retrieves the Server Message Block (SM
26
26
## EXAMPLES
27
27
28
28
### Example 1: Get SMB server configuration
29
+ ``` PowerShell
30
+ Get-SmbServerConfiguration
29
31
```
30
- PS C:\>Get-SmbServerConfiguration
31
- AnnounceServer : False
32
- AsynchronousCredits : 64
33
- AutoShareServer : True
34
- AutoShareWorkstation : True
35
- CachedOpenLimit : 5
36
- AnnounceComment :
37
- EnableDownlevelTimewarp : False
38
- EnableLeasing : True
39
- EnableMultiChannel : True
40
- EnableStrictNameChecking : True
41
- AutoDisconnectTimeout : 0
42
- DurableHandleV2TimeoutInSeconds : 30
43
- EnableAuthenticateUserSharing : False
44
- EnableForcedLogoff : True
45
- EnableOplocks : True
46
- EnableSecuritySignature : False
47
- ServerHidden : True
48
- IrpStackSize : 15
49
- KeepAliveTime : 2
50
- MaxChannelPerSession : 32
51
- MaxMpxCount : 50
52
- MaxSessionPerConnection : 16384
53
- MaxThreadsPerQueue : 20
54
- MaxWorkItems : 1
55
- NullSessionPipes :
56
- NullSessionShares :
57
- OplockBreakWait : 35
58
- PendingClientTimeoutInSeconds : 120
59
- RequireSecuritySignature : False
60
- EnableSMB1Protocol : True
61
- EnableSMB2Protocol : True
62
- Smb2CreditsMax : 2048
63
- Smb2CreditsMin : 128
64
- SmbServerNameHardeningLevel : 0
65
- TreatHostAsStableStorage : False
66
- ValidateAliasNotCircular : True
67
- ValidateShareScope : True
68
- ValidateShareScopeNotAliased : True
69
- ValidateTargetName : True
70
- EncryptData : False
71
- RejectUnencryptedAccess : True
32
+ ``` Output
33
+ AnnounceComment :
34
+ AnnounceServer : False
35
+ AsynchronousCredits : 512
36
+ AuditSmb1Access : False
37
+ AutoDisconnectTimeout : 15
38
+ AutoShareServer : True
39
+ AutoShareWorkstation : True
40
+ CachedOpenLimit : 10
41
+ DisableSmbEncryptionOnSecureConnection : True
42
+ DurableHandleV2TimeoutInSeconds : 180
43
+ EnableAuthenticateUserSharing : False
44
+ EnableDownlevelTimewarp : False
45
+ EnableForcedLogoff : True
46
+ EnableLeasing : True
47
+ EnableMultiChannel : True
48
+ EnableOplocks : True
49
+ EnableSecuritySignature : False
50
+ EnableSMB1Protocol : False
51
+ EnableSMB2Protocol : True
52
+ EnableStrictNameChecking : True
53
+ EncryptData : False
54
+ IrpStackSize : 15
55
+ KeepAliveTime : 2
56
+ MaxChannelPerSession : 32
57
+ MaxMpxCount : 50
58
+ MaxSessionPerConnection : 16384
59
+ MaxThreadsPerQueue : 20
60
+ MaxWorkItems : 1
61
+ NullSessionPipes :
62
+ NullSessionShares :
63
+ OplockBreakWait : 35
64
+ PendingClientTimeoutInSeconds : 120
65
+ RejectUnencryptedAccess : True
66
+ RequireSecuritySignature : False
67
+ ServerHidden : True
68
+ Smb2CreditsMax : 8192
69
+ Smb2CreditsMin : 512
70
+ SmbServerNameHardeningLevel : 0
71
+ TreatHostAsStableStorage : False
72
+ ValidateAliasNotCircular : True
73
+ ValidateShareScope : True
74
+ ValidateShareScopeNotAliased : True
75
+ ValidateTargetName : True
76
+ RestrictNamedpipeAccessViaQuic : True
77
+ EnableSMBQUIC : True
78
+ EncryptionCiphers : AES_128_GCM, AES_128_CCM, AES_256_GCM, AES_256_CCM
72
79
```
73
80
74
81
This command retrieves the SMB server configuration.
75
82
83
+ > [ !NOTE]
84
+ > The EncryptionCiphers parameter is available beginning with 2022-06 Cumulative Update for Windows Server 2022 (build 20348.681), and Cumulative Update for Windows 11 (build 22000.652).
85
+
76
86
## PARAMETERS
77
87
78
88
### -AsJob
0 commit comments