Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Inventory of IP addresses list

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

0 comments