ipconfig.exe /all | findstr /R /C:"Host Name*.*:" > SysIP.txt ipconfig.exe | findstr /R /C:"IP Address*.*:" | findstr /V "%%" >> SysIP.txt ipconfig.exe | findstr /R /C:"IPv4 Address*.*:" | findstr /V "%%" >> SysIP.txt