I need to get the DNS info, which can be found under ipconfig /all but when I try it using
SETLOCAL (
FOR /f "tokens=1*delims=:" %%b IN (\'ipconfig /all\