commit ad48437655d0bc844f7a95c93e936dd363a1fdf1 Author: erich Date: Tue Dec 9 13:38:59 2025 +0100 Dateien nach "/" hochladen diff --git a/Start_GUI2.bat b/Start_GUI2.bat new file mode 100644 index 0000000..97c8388 --- /dev/null +++ b/Start_GUI2.bat @@ -0,0 +1,28 @@ +@echo off + +:START + +set VERZ=%~dp0 +set computer_list=%verz%\rechner.txt +set TPM=%verz%\LOGS\TPM.log +set TDATEI=\\%%c\c$\TPMT2.log + + +for /F %%c in (%computer_list%) do ( + PING -n 1 %%c + if exist %TDATEI% echo %%c >> %verz%\LOGS\LOGDATEIDA.log + if errorlevel 1 ( + echo %%c >> %verz%\LOGS\rechnererr.log + ) else ( +if not exist %TDATEI% ( + copy "%VERZ%HardwareReadiness.ps1" "\\%%c\c$\temp\HardwareReadiness.ps1" + echo %%c >>%TPM% + psexec -s \\%%c Powershell -ExecutionPolicy Bypass -File c:\temp\HardwareReadiness.ps1 >>%TPM% + copy "%VERZ%\TPM.log" "%TDATEI%" + echo Server %%c online>> %verz%\LOGS\rechnerueberprüft.log ) + ) + ) +goto START +pause + + diff --git a/Start_GUI3.bat b/Start_GUI3.bat new file mode 100644 index 0000000..86ae583 --- /dev/null +++ b/Start_GUI3.bat @@ -0,0 +1,29 @@ +@echo off + +:START + +set VERZ=%~dp0 +set computer_list=%verz%\rechner.txt +set TPM=%verz%\LOGS\TPMneu.log +set TDATEI=\\%%c\c$\TPMT6.log + + +for /F %%c in (%computer_list%) do ( + PING -n 1 %%c + if exist %TDATEI% echo %%c >> %verz%\LOGS\LOGDATEIDA.log + if errorlevel 1 ( + echo %%c >> %verz%\LOGS\rechnererr.log + ) else ( +if not exist %TDATEI% ( + copy "%VERZ%TPM.ps1" "\\%%c\c$\temp\TPM.ps1" + date /t >>%TPM% + time /t >>%TPM% + echo %%c >>%TPM% + psexec -s \\%%c Powershell -ExecutionPolicy Bypass -File c:\temp\TPM.ps1 >>%TPM% + copy "%VERZ%\TPM.log" "%TDATEI%" ) + ) + ) +goto START +pause + + diff --git a/TPM.ps1 b/TPM.ps1 new file mode 100644 index 0000000..6e01a04 --- /dev/null +++ b/TPM.ps1 @@ -0,0 +1,3 @@ +get-tpm +get-CimInstance Win32_BaseBoard +Get-CimInstance Win32_BIOS | select \ No newline at end of file diff --git a/Win11.xlsx b/Win11.xlsx new file mode 100644 index 0000000..af30959 Binary files /dev/null and b/Win11.xlsx differ diff --git a/rechner.txt b/rechner.txt new file mode 100644 index 0000000..0d64c06 --- /dev/null +++ b/rechner.txt @@ -0,0 +1 @@ +audinec24192375.ne.audi.vwg \ No newline at end of file