An Azure service that provides cloud-scale job scheduling and compute management.
Hello @kzoord1 ,
Can you try this out?
@Echo off
set OUTPUTFILE=output.txt
set lookup=hostnames.txt
FOR /F %%i in (%lookup%) do (
FOR /F "skip=3 delims=: tokens=2" %%j in ('echo(^|nslookup %%i') do @Echo %%i %%j >> %OUTPUTFILE%
)
I think you don't need to store in the array variable X as we can directly read from text file and we can push the output to another text file.