CmdID / PowerShell / Cmdlets / Set
Set-SmbClientConfiguration
Sets the SMB client configuration. Windows Server PowerShell reference
From the Windows Server PowerShell reference 49 parameters Its page in the reference
Parameters
Show its 49 parameters
-AsJobRuns the cmdlet as a background job.-AuditInsecureGuestLogonSpecifies whether to audit insecure guest logon attempts.-AuditServerDoesNotSupportEncryptionSpecifies whether to audit when a server doesn't support encryption.-AuditServerDoesNotSupportSigningSpecifies whether to audit when a server doesn't support message signing.-BlockNTLMSpecifies whether to block NT LAN Manager (NTLM) authentication.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CompressibilitySamplingSizeSpecifies the size in bytes to sample in a file to look for compressible data.-CompressibleThresholdSpecifies the threshold in bytes in which to attempt to find compressible data.-ConnectionCountPerRssNetworkInterfaceSpecifies the SMB connection count per each RSS network interface.-DirectoryCacheEntriesMaxSpecifies the maximum cache entries that can be in the directory cache.-DirectoryCacheEntrySizeMaxSpecifies the maximum size of directory cache entry.-DirectoryCacheLifetimeSpecifies the directory cache lifetime.-DisableCompressionSpecifies that the SMB client ignores all requests for compression from applications or SMB servers.-DormantFileLimitSpecifies the dormant file limit.-EnableBandwidthThrottlingIndicates that bandwidth throttling is enabled.-EnableByteRangeLockingOnReadOnlyFilesIndicates that byte range locking on read-only files is enabled.-EnableCompressibilitySamplingControls the sampling behavior.-EnableInsecureGuestLogonsIndicates whether SMB client will allow insecure guest logons to an SMB server.-EnableLargeMtuIndicates that large MTU is enabled.-EnableLoadBalanceScaleOutIndicates whether load balance scale out is enabled.-EnableMailslotsSpecifies whether to enable mailslots.-EnableMultiChannelIndicates that multi-channel is enabled.-EnableSecuritySignatureIndicates that the security signature is enabled.-EnableSMBQUICSpecifies whether the SMB over QUIC client protocol is enabled.-EncryptionCiphersSpecifies the encryption ciphers used by the SMB client and the preferred order.-ExtendedSessionTimeoutSpecifies the extended session time-out.-FileInfoCacheEntriesMaxSpecifies the maximum number entries that can be in the file information cache.-FileInfoCacheLifetimeSpecifies the file information cache lifetime.-FileNotFoundCacheEntriesMaxSpecifies the maximum number entries that can be in the file not found cache.-FileNotFoundCacheLifetimeSpecifies the file not found cache lifetime.-ForceForces the command to run without asking for user confirmation.-ForceSMBEncryptionOverQuicSpecifies that the SMB client uses SMB encryption inside of the SMB over QUIC TLS 1.3 encrypted tunnel even if the SMB server doesn't require it.-InvalidAuthenticationCacheLifetimeSpecifies the length of time (in seconds) that an invalid authentication cache entry should be kept before being removed.-KeepConnSpecifies the time, in seconds, before the SMB client session is automatically disconnected.-MaxCmdsSpecifies the maximum number of concurrent outstanding network requests that the SMB client supports.-MaximumConnectionCountPerServerSpecifies the maximum connection count per server.-OplocksDisabledIndicates that opportunistic locks are disabled.-RequestCompressionIndicates if an SMB client should always request compression even if the server or application didn't specify it.-RequireEncryptionSpecifies whether or not encryption should be required for all SMB traffic.-RequireSecuritySignatureIndicates that the security signature is required.-SessionTimeoutSpecifies the session time-out.-SkipCertificateCheckSpecifies that the SMB client not trust the SMB over QUIC SMB server certificate issuer.-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.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UseOpportunisticLockingIndicates that opportunistic locks are used.-WindowSizeThresholdSpecifies the window size threshold.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.