How to use Powershell to add network latency to Windows server 2008 R2 & Windows server 2012

Hi,

I am trying to figure out how to use Powershell commands to add network latency to my Windows Server systems to simulate application behaviors in production.

Something similar to the tc command with netem provided by Linux would help ...

Thanks.

August 21st, 2015 1:08am

Hi Moinak,

Netem appears to be a Network Emulation Tool. PowerShell doesn't offer you anything out of the box. You might have to write a script or get some tool capable of doing it.

Here are some:

NTttcp Utility: Profile and Measure Windows Networking Performance

https://gallery.technet.microsoft.com/NTttcp-Version-528-Now-f8b12769

Network Throughput Testing Tools

http://www.windowsnetworking.com/articles-tutorials/netgeneral/network-throughput-testing-tools.html

Performance: generate web traffic load using a powershell script:
http://rothmanshore.com/2012/03/14/performance-generate-web-traffic-load-using-a-powershell-script/

Cheesy Web Server Performance Test With PowerShell:
http://blogs.iis.net/thomad/cheesy-web-server-performance-test-with-powershe

August 21st, 2015 2:59am

Hi,

NTttcp*.exe will require download and then setting up firewall rules via UI to be used from command line, right? Is there any way it can be invoked silently in non-interactive mode, like what SSH does in Linux?

Thanks.

August 25th, 2015 12:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics