This commit is contained in:
USER
2023-04-22 08:28:17 +01:00
parent b6955751d2
commit f428419118

View File

@ -6,7 +6,15 @@ echo "%~n0: Start"
ping -n 7 -i 7 192.8.1.1 ping -n 7 -i 7 192.8.1.1
call %TMESSAGE% '"STARTED local %check_computername% "' call %TMESSAGE% '"STARTED local %check_computername% "'
if "%check_computername%" EQU "SERVER" (
ping -n 7 -i 7 192.8.1.1 ping -n 7 -i 7 192.8.1.1
call %TMESSAGEH% '" %check_computername% has STARTED "' call %TMESSAGEH% '" %check_computername% has STARTED "'
)
if "%check_computername%" EQU "SERVER2" (
ping -n 7 -i 7 192.8.1.1
call %TMESSAGEH% '" %check_computername% has STARTED "'
)
del C:\Packages\Scripts\vOnBoot.bat del C:\Packages\Scripts\vOnBoot.bat