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–