0

I would like to do the equal of

net view /all

followed by

nslookup COMPUTERNAME

in a oneliner rendering something like

\\COMPUTERNAME1      192.168.1.1
\\COMPUTERNAME2      192.168.1.2

Can I? Or do I really need to script it like it's done here?

Schaki
  • 469
  • 4
  • 13
  • 1
    What wrong with using the script? It does exactly what you want, and according to the link is the only way of doing it. – DavidPostill Oct 11 '15 at 12:01
  • Well the script isn't available on any random computer I might want to check ip adressess on... – Schaki Oct 13 '15 at 12:55

0 Answers0