Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello
Does it exist some module to get the Windows domain a Windows host belongs to?. From a Windows computer I can do: nbtstat -A 192.168.1.1 And this will give me the Windows domain and other things that I dont want. But I want to loop througt several hundreds IP-addresses and match these to the Windows domains the belong to and write the result to a file. I have a txt file with several IP-addresses like IP.TXT 192.168.1.1 192.168.1.2 192.168.1.3 The result file should be like this. 192.168.1.1 domain35 192.168.1.2 domain50 192.168.1.3 domain 55 //Anders Andersson
|
|