mirror of
https://github.com/sstent/Scripts.git
synced 2026-01-26 23:22:20 +00:00
added scripts and SUPERMICRO
This commit is contained in:
7
lookup_local.bat
Normal file
7
lookup_local.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
SETLOCAL EnableDelayedExpansion
|
||||
set servername=
|
||||
for /f "DELIMS=/" %%s in (lookup_local.txt) do (
|
||||
FOR /F "tokens=2 delims=: " %%J IN ('NSLOOKUP %%s ^| FIND "Name: "') DO set servername=%%J
|
||||
echo connected %%s !servername! >>lookup_local.log
|
||||
)
|
||||
Reference in New Issue
Block a user