< Back

Get-SmbClientConfiguration

Wed Jan 30, 2019 6:00 pm

NAME Get-SmbClientConfiguration



SYNOPSIS

Retrieves the SMB client configuration.





SYNTAX

Get-SmbClientConfiguration [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Get-SmbClientConfiguration cmdlet retrieves the Server Message Block (SMB) client configuration.





PARAMETERS

-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or

Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is

entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the

computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None









OUTPUTS

Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/SMB/MSFT_SmbClientConfiguration



The MSFT_SmbClientConfiguration object represents the configuration of the SMB client.





Example 1: Get the client configuration



PS C:\\>Get-SmbClientConfiguration

ConnectionCountPerRssNetworkInterface : 4

DirectoryCacheEntriesMax : 16

DirectoryCacheEntrySizeMax : 65536

DirectoryCacheLifetime : 10

EnableBandwidthThrottling : True

EnableByteRangeLockingOnReadOnlyFiles : True

EnableLargeMtu : True

EnableMultiChannel : True

DormantFileLimit : 1023

EnableSecuritySignature : True

ExtendedSessionTimeout : 1000

FileInfoCacheEntriesMax : 64

FileInfoCacheLifetime : 10

FileNotFoundCacheEntriesMax : 128

FileNotFoundCacheLifetime : 5

KeepConn : 600

MaxCmds : 50

MaximumConnectionCountPerServer : 32

OplocksDisabled : False

RequireSecuritySignature : False

SessionTimeout : 60

UseOpportunisticLocking : True

WindowSizeThreshold : 1



This command retrieves the SMB client configuration.







RELATED LINKS

Set-SmbClientConfiguration