![]() |
|
"be consistent" | |
PerlMonks |
Re: How can I get which Windows domain an IP belongs to?by inman (Curate) |
on Oct 14, 2003 at 13:04 UTC ( #299092=note: print w/replies, xml ) | Need Help?? |
I tried a variant of both the run nbtstat.exe and use Net::NBName methods but I used the regex /(\S+)\s*?<00>\s*?GROUP/i to capture the domain as $1. Appeared to do the trick.
This page looked like a useful reference for the various entries in the table.
In Section
Seekers of Perl Wisdom
|
|