Search the Community
Showing results for tags 'Iperf'.
Sometimes you have to do a lot of network testing, and that can be a real pain if you have to sneaker-net the code everywhere. I have written the following script to using a network share with read and write permissions. DEFAULT_DELAY 75 DELAY 3000 GUI R DELAY 1000 STRING cmd.exe ENTER DELAY 500 REM Change directory to TEMP STRING CD %TEMP% ENTER DELAY 500 REM Copy files down from network share STRING xcopy "\\network_share\COPY_FILES\iperf" /i /Y ENTER DELAY 1000 REM Run Iperf with as needed switches and output to file STRING iperf.exe -c <IpaddressofServer> -w 8k > \\network_share\PERFORMANCE_FILES\IPERF\%username%-%computername%.txt ENTER