You could try WMI and the Win32_NetworkAdapter class.

This will only work on Win2k and upwards machines though!
I believe support for other OS is possible.

Darin
--------------------------------------------
Darin Cruickshanks
Labs Manager, Computing Service
University of Essex
[EMAIL PROTECTED]
01206 873585

-----Original Message-----
From: Eric Hennessey [mailto:[EMAIL PROTECTED]] 
Sent: 19 November 2002 14:14
To: [EMAIL PROTECTED]
Subject: Enumerating MAC addresses on remote machines

Hi all...

Has anybody got any ideas on how to enumerate MAC addresses for all adapters
on a remote machine?  I can do it on the local machine by parsing the output
of ipconfig /all, but I can't seem to figure out how to get the same from a
remote machine.

Any ideas will be most appreciated!
Eric
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to