first commit

This commit is contained in:
USER
2023-01-17 23:15:21 +00:00
commit 773c15c6ce
27 changed files with 1059 additions and 0 deletions

24
local_Shutdown.bat Normal file
View File

@ -0,0 +1,24 @@
@echo off
call C:\Scripts\wLocal\localENV.bat
@REM xxxxxxx
echo "%~n0: Start"
if "%check_computername%" EQU "RECEPTION1" (
set SHUTDOWN=0
)
if "%check_computername%" EQU "RECEPTION2" (
set SHUTDOWN=0
)
if "%check_computername%" EQU "LENNY" (
set SHUTDOWN=0
)
if [%SHUTDOWN%] == [0] (
echo "Not shutting down"
) else (
echo "shutting down"
call %TMESSAGE% '"%check_computername% shutting down"'
C:\Windows\System32\shutdown.exe /s /t 1
)