first commit
This commit is contained in:
15
archive/mshut.bat
Normal file
15
archive/mshut.bat
Normal file
@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
set myname=%COMPUTERNAME%
|
||||
echo "Found computer %myname%"
|
||||
|
||||
@REM set DUFUS="1816161258:AAGNRS1t_ApXwAm0jJyms5H6H7BaJFPvyok"
|
||||
@REM set TCHATID="1462463122"
|
||||
|
||||
|
||||
|
||||
@REM set MSG=bungler dungler
|
||||
@REM set STRING='%myname% shutting down'
|
||||
@REM curl -X POST -H 'content-type: application/json' -F "chat_id=%TCHATID%" -F "text=%STRING%" https://api.telegram.org/bot%DUFUS%/sendmessage
|
||||
|
||||
call C:\Scripts\Base\tmessage.bat '"%myname% shutting down"'
|
||||
C:\Windows\System32\shutdown.exe /s /t 1
|
||||
Reference in New Issue
Block a user