Inventory of IP addresses list
Edmon Uyan
Hi,
Just want to share something that allows me to get a list of all the computer's IP addresses. At the command window, i entered this value:
for /f "tokens=14" %%a in ('ipconfig ^| findstr IPv4') do echo %%a>\\sharedfolderpath\%computername%---%%a.txt
Result will show in the \sharedfolder all text files named by their hostname and their corresponding IP. Opening one of the text files shows the IP of the hostname as well
0
Comments