Dateien nach "/" hochladen

This commit is contained in:
2025-12-09 13:38:59 +01:00
commit ad48437655
5 changed files with 61 additions and 0 deletions

28
Start_GUI2.bat Normal file
View File

@@ -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

29
Start_GUI3.bat Normal file
View File

@@ -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

3
TPM.ps1 Normal file
View File

@@ -0,0 +1,3 @@
get-tpm
get-CimInstance Win32_BaseBoard
Get-CimInstance Win32_BIOS | select

BIN
Win11.xlsx Normal file

Binary file not shown.

1
rechner.txt Normal file
View File

@@ -0,0 +1 @@
audinec24192375.ne.audi.vwg