mirror of
https://github.com/sstent/Scripts.git
synced 2026-01-26 15:12:27 +00:00
added scripts and SUPERMICRO
This commit is contained in:
9
pinch_test.bat
Normal file
9
pinch_test.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
@echo off
|
||||
for /f "DELIMS=/" %%q in (serverlist.txt) do (
|
||||
xcopy /y c:\pinch.exe \\%%q\c$\pinch.exe
|
||||
for /f "DELIMS=/" %%s in (%%q.txt) do (
|
||||
psexec \\%%q c:\pinch.exe %%s
|
||||
IF ERRORLEVEL 1 (echo %%q,failed,%%s >>pinch.log) else (echo %%q,connected,%%s >>pinch.log )
|
||||
)
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user