app/install_iperf3.cmd hinzugefügt
This commit is contained in:
19
app/install_iperf3.cmd
Normal file
19
app/install_iperf3.cmd
Normal file
@@ -0,0 +1,19 @@
|
||||
:: ----------------------------------------------------------------
|
||||
:: Installiere IPERF3
|
||||
:: ----------------------------------------------------------------
|
||||
|
||||
:: --- Option: Download in ein temporäres Verzeichnis
|
||||
:: --- Kann für z.B. für GLPI abgeschaltet werden
|
||||
set SAVEPATH=%SYSTEMDRIVE%\SETUP
|
||||
MKDIR %SAVEPATH% & CD /D %SAVEPATH%
|
||||
|
||||
set VERS=3.19.1
|
||||
set BASEURL=https://github.com/ar51an/iperf3-win-builds/releases/download/%VERS%
|
||||
set PROG=iperf-%VERS%-win64.zip
|
||||
|
||||
curl -kLO %BASEURL%/%PROG%
|
||||
|
||||
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath %SYSTEMDRIVE%\Windows }"
|
||||
|
||||
del %PROG%
|
||||
|
Reference in New Issue
Block a user