How to assign a bandwidth value to the network traffic in Windows?

Ayushi Chaudhuri 190 Reputation points
2023-03-23T10:04:11.4766667+00:00

I want to assign a particular value of bandwidth to the network traffic in Windows. I want to use commands instead of any third-party tools to do so. So far, I can assign the value of outbound traffic using commands but cannot do so for inbound traffic. Does anyone know how to set that for inbound traffic?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,606 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
{count} votes

Accepted answer
  1. Limitless Technology 43,931 Reputation points
    2023-03-24T11:39:31.0433333+00:00

    Hello there,

    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.

    Set-SmbBandwidthLimit https://learn.microsoft.com/en-us/powershell/module/smbshare/set-smbbandwidthlimit?view=windowsserver2022-ps

    Gathering Network Statistics with PowerShell https://devblogs.microsoft.com/scripting/gathering-network-statistics-with-powershell/

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful