PowerShell Logo Small

Set-SmbBandwidthLimit



This is the built-in help made by Microsoft for the command 'Set-SmbBandwidthLimit', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Adds an SMB bandwidth cap.

SYNTAX


Set-SmbBandwidthLimit [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] -BytesPerSecond <UInt64> -Category <BandwidthLimitCategory> [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-SmbBandwidthLimit cmdlet adds a Server Message Block (SMB) bandwidth cap for the traffic categories that you specify. SMB bandwidth caps limit the amount of data
that the server can send for each traffic category.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=321924
Install-WindowsFeature
Get-SmbBandwidthLimit
Remove-SmbBandwidthLimit

REMARKS

<

Examples


Example 1: Add an SMB limit

PS C:\> Set-SmbBandwidthLimit -Category Default -BytesPerSecond 100MB



This command limits SMB traffic to 100 megabytes per second for traffic that is unrelated to Hyper-V over SMB or Live Migration.




Example 2:

PS C:\> Set-SmbBandwidthLimit -Category LiveMigration -BytesPerSecond 1GB



This command limits SMB traffic to 1 gigabyte per second for Live Migration.