scripts/script_bin_backuptool.cmd hinzugefügt

This commit is contained in:
2025-08-27 08:50:49 +00:00
parent 1ab1dc2b39
commit ed89dfd397

View File

@@ -0,0 +1,30 @@
:: ----------------------------------------------------------------
:: Installiere Disk2VHD und DoubleDriver
:: ----------------------------------------------------------------
:: --- 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%
:: Setze Basisurl zu den Binaries
set BASEURL=https://support.ostrachhelp.de/OstrachHELP/binaries/raw/branch/main/win
:: --- Disk2VHD
set PROG=Disk2vhd.zip
curl -kLO %BASEURL%/%PROG%
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
del %PROG%
:: ---- Double Driver
set PROG=Double%%20Driver.zip
curl -kLO %BASEURL%/%PROG%
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
del %PROG%
:: --- Sichere alle Treiber mit Double Driver
::cd /D "%SAVEPATH%\Double Driver"
::ddc b /target:%SAVEPATH%\Treiber
:: --- Neu: Sichere alle Treiber mit Powershell!
powershell -command "& Export-WindowsDriver -Online -Destination C:\SETUP\Treiber"