File Transfer speed limit regulation

Bharadwaj, Santhosh N 21 Reputation points
2021-10-13T14:06:49.463+00:00

I want to copy a file from one server to another server with a constant speed say 3 MB/s , 5 MB/s.
Do we have any PowerShell script for the speed regulation.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Accepted answer
  1. Rich Matheisen 47,901 Reputation points
    2021-10-13T18:08:01.507+00:00

    For SMB transfers use Set-SmbBandwidthLimit.

    set-smbbandwidthlimit

    There is, however, no such thing as a "constant speed" with any network.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. MotoX80 36,401 Reputation points
    2021-10-13T19:32:07.327+00:00

    You could also use RoboCopy's /IPG switch.

    /IPG:n :: Inter-Packet Gap (ms), to free bandwidth on slow lines.
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.