programming-examples/perl/Win32/Node and domain information.pl

8 lines
160 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl -w
use Win32;
$node = Win32::NodeName();
$domain = Win32::DomainName();
# Print info.
print "Node=$node, Domain=$domain\n";