for/f"tokens=1" %i in ('arp -a ^| findstr/i dynamic') do @for/f"tokens=2 delims= " %n in ('nslookup %i 2^>nul ^| findstr/i"Name:"') do @echo %i ^| %n
Output will look similar to this.
192.168.2.13
computer1.domain.local
192.168.4.5
ServerOne.domain.local
192.168.6.4
MailServer.domain.local
192.168.50.75
DBServer.domain.local
This will help when you need to know what systems are using the network at any given time. (These are Static IPs assigned to the devices, and it will not show the IP Address of the computer running the command.)