CmdID / PowerShell / Cmdlets / Set
Set-SmbServerConfiguration
Sets the Server Message Block (SMB) server configuration. Windows Server PowerShell reference
From the Windows Server PowerShell reference 64 parameters Its page in the reference
Parameters
Show its 64 parameters
-AnnounceCommentSpecifies the announce comment string.-AnnounceServerIndicates that this server announces itself by using browser announcements.-AsJobRuns the cmdlet as a background job.-AsynchronousCreditsSpecifies the asynchronous credits.-AuditClientCertificateAccessEnables SMB over QUIC client access control audit events.-AuditClientDoesNotSupportEncryptionEnables auditing of SMB clients that don't support encryption.-AuditClientDoesNotSupportSigningEnables auditing of the clients attempts to connect without signing to the server.-AuditInsecureGuestLogonSpecifies whether to audit insecure guest logon attempts.-AuditSmb1AccessEnables the auditing of SMB version 1 protocol behavior.-AutoDisconnectTimeoutInMinutesV1Specifies the v1 auto disconnect time-out period, in minutes.-AutoDisconnectTimeoutInSecondsV2Specifies the v2 auto disconnect time-out period, in seconds.-AutoShareServerIndicates that the default server shares are shared out.-AutoShareWorkstationIndicates whether the default workstation shares are shared out.-CachedOpenLimitSpecifies the maximum number of cached open files.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DisableCompressionIndicates that the SMB server should never compress files even if client or application requested it.-DisableSmbEncryptionOnSecureConnectionSpecifies that SMB encryption will also be used if configured on the SMB server.-DurableHandleV2TimeoutInSecondsSpecifies the durable handle v2 time-out period, in seconds.-EnableAuthenticateUserSharingIndicates whether authenticate user sharing is enabled.-EnableDirectoryHandleLeasingEnables directory handle leasing on the server.-EnableDownlevelTimewarpIndicates whether down-level timewarp support is disabled.-EnableForcedLogoffIndicates whether forced logoff is enabled.-EnableLeasingIndicates whether leasing is disabled.-EnableMailslotsSpecifies whether to enable mailslots.-EnableMultiChannelIndicates whether multi-channel is disabled.-EnableOplocksIndicates whether the opportunistic locks are enabled.-EnableSecuritySignatureIndicates whether the security signature is enabled.-EnableSMB1ProtocolIndicates whether the SMB1 protocol is enabled.-EnableSMB2ProtocolIndicates whether the SMB2 protocol is enabled.-EnableSMBQUICIndicates whether the SMB over QUIC protocol is enabled.-EnableStrictNameCheckingIndicates whether the server should perform strict name checking on incoming connects.-EncryptDataIndicates whether the sessions established on this server are encrypted.-EncryptionCiphersSpecifies the encryption ciphers used by the SMB server and the preferred order.-ForceForces the command to run without asking for user confirmation.-InvalidAuthenticationDelayTimeInMsSpecifies the length of time in milliseconds that the server should delay before responding to an authentication request that has been deemed invalid, such as an incorrect user name or password.-IrpStackSizeSpecifies the default IRP stack size.-KeepAliveTimeSpecifies the keep alive time.-MaxChannelPerSessionSpecifies the maximum channels per session.-MaxMpxCountSpecifies the maximum MPX count for SMB1.-MaxSessionPerConnectionSpecifies the maximum sessions per connection.-MaxThreadsPerQueueSpecifies the maximum threads per queue.-MaxWorkItemsSpecifies the maximum SMB1 work items.-NullSessionPipesSpecifies the null session pipes.-NullSessionSharesSpecifies the null session shares.-OplockBreakWaitSpecifies how long the create caller waits for an opportunistic lock break.-PendingClientTimeoutInSecondsSpecifies the pending client time-out period, in seconds.-RejectUnencryptedAccessIndicates whether the client that doesn't support encryption is denied access if it attempts to connect to an encrypted share.-RequestCompressionIndicates if SMB server should always request compression even if client or application didn't specify it.-RequireSecuritySignatureIndicates whether the security signature is required.-RestrictNamedpipeAccessViaQuicSpecifies that named pipes are allowed when using SMB over QUIC.-ServerHiddenIndicates whether the server announces itself.-Smb2CreditsMaxSpecifies the maximum SMB2 credits.-Smb2CreditsMinSpecifies the minimum SMB2 credits.-Smb2DialectMaxThis parameter specifies the maximum version of the SMB protocol to be used.-Smb2DialectMinThis parameter specifies the minimum version of the SMB protocol to be used.-SmbServerNameHardeningLevelControls the level of validation that a server performs on the service principal name (SPN) that is provided by the client device when the client establishes a session using Server Message Block (SMB…-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TreatHostAsStableStorageIndicates whether the host is treated as the stable storage.-ValidateAliasNotCircularIndicates whether the aliases that aren't circular are validated.-ValidateShareScopeIndicates that the existence of share scopes is checked during share creation.-ValidateShareScopeNotAliasedIndicates whether the share scope being aliased is validated.-ValidateTargetNameIndicates whether the target name is validated.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.