Windows PowerShell command on Get-command Set-SmbClientConfiguration
MyWebUniversity

Windows PowerShell command on Get-command Set-SmbClientConfiguration

NAME

Set-SmbClientConfiguration

SYNOPSIS

Sets the SMB client configuration.

SYNTAX

Set-SmbClientConfiguration [-CimSession ] [-ConnectionCountPerRssNetworkInterface ]

[-DirectoryCacheEntriesMax ] [-DirectoryCacheEntrySizeMax ] [-DirectoryCacheLifetime ]

[-DormantFileLimit ] [-EnableBandwidthThrottling ] [-EnableByteRangeLockingOnReadOnlyFiles

] [-EnableLargeMtu ] [-EnableLoadBalanceScaleOut ] [-EnableMultiChannel

] [-EnableSecuritySignature ] [-ExtendedSessionTimeout ] [-FileInfoCacheEntriesMax

] [-FileInfoCacheLifetime ] [-FileNotFoundCacheEntriesMax ] [-FileNotFoundCacheLifetime

] [-Force] [-KeepConn ] [-MaxCmds ] [-MaximumConnectionCountPerServer ]

[-OplocksDisabled ] [-RequireSecuritySignature ] [-SessionTimeout ] [-ThrottleLimit

] [-UseOpportunisticLocking ] [-WindowSizeThreshold ] [-Confirm] [-WhatIf]

[]

DESCRIPTION

The Set-SmbClientConfiguration cmdlet sets the Server Message Block (SMB) client configuration.

PARAMETERS

-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

-ConnectionCountPerRssNetworkInterface []

Specifies the SMB connection count per each RSS network interface. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-DirectoryCacheEntriesMax []

Specifies the maximum cache entries that can be in the directory cache. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-DirectoryCacheEntrySizeMax []

Specifies the maximum size of directory cache entry. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-DirectoryCacheLifetime []

Specifies the directory cache lifetime. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-DormantFileLimit []

Specifies the dormant file limit. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-EnableBandwidthThrottling []

Indicates that bandwidth throttling is enabled. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-EnableByteRangeLockingOnReadOnlyFiles []

Indicates that byte range locking on read-only files is enabled.

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-EnableLargeMtu []

Indicates that large MTU is enabled. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-EnableLoadBalanceScaleOut []

Indicates whether load balance scale out is enabled. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-EnableMultiChannel []

Indicates that multi-channel is enabled.

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-EnableSecuritySignature []

Indicates that the security signature is enabled. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-ExtendedSessionTimeout []

Specifies the extended session time-out.

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-FileInfoCacheEntriesMax []

Specifies the maximum number entries that can be in the file information cache. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-FileInfoCacheLifetime []

Specifies the file information cache lifetime. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-FileNotFoundCacheEntriesMax []

Specifies the maximum number entries that can be in the file not found cache. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-FileNotFoundCacheLifetime []

Specifies the file not found cache lifetime. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-Force []

Forces the command to run without asking for user confirmation. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-KeepConn []

Specifies the time, in seconds, before the SMB client session is automatically disconnected. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-MaxCmds []

Specifies the maximum number of concurrent outstanding network requests that the SMB client supports. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-MaximumConnectionCountPerServer []

Specifies the maximum connection count per server. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-OplocksDisabled []

Indicates that opportunistic locks are disabled. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-RequireSecuritySignature []

Indicates that the security signature is required. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-SessionTimeout []

Specifies the session time-out.

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-ThrottleLimit []

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 PowerShellr 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

-UseOpportunisticLocking []

Indicates that opportunistic locks are used. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-WindowSizeThreshold []

Specifies the window size threshold. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-Confirm []

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 []

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 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

None

Example 1: Set the SMB client configuration

PS C:\>Set-SmbClientConfiguration -ConnectionCountPerRssNetworkInterface 8

Confirm Are you sure you want to perform this action? Performing operation 'Modify' on Target 'SMB Client Configuration'. [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): This command sets the SMB client configuration.

Example 2: Set the SMB client configuration without confirmation

PS C:\>Set-SmbClientConfiguration -ConnectionCountPerRssNetworkInterface 4 -Force

This command sets the SMB client configuration without user confirmation.

RELATED LINKS

Get-SmbClientConfiguration



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™