programming-examples/perl/Win32/Node and domain information.pl
2019-11-15 12:59:38 +01:00

8 lines
160 B
Perl

#!/usr/bin/perl -w
use Win32;
$node = Win32::NodeName();
$domain = Win32::DomainName();
# Print info.
print "Node=$node, Domain=$domain\n";