You can also go to your DHCP server if you know the Machine name.
Steven Comeau
Manager, Corporate IT Systems
Main Tape
1 Capital Drive, Suite 101
Cranbury, NJ 08512
800-718-8273 x332
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 11:58 AM
To: [email protected]
Subject: RE: [ActiveDir] MAC Address
Something like this:
wmic NICCONFIG get MACAddress
Or a vbscript like this:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" & "!\\" & strComputer &
"\root\cimv2")
If Err.number <> 0 Then
Else
Set colAdapters = objWMIService.ExecQuery _
("Select * from Win32_NetworkAdapterConfiguration Where IPEnabled =
True")
For Each objAdapter in colAdapters
Physical_address = objAdapter.MACAddress
Wscript.Echo Physical_Address
If Not IsNull(objAdapter.IPAddress) Then
For i = LBound(objAdapter.IPAddress) To UBound(objAdapter.IPAddress)
IP_address = objAdapter.IPAddress(i)
Wscript.Echo IP_Address
Next
End If
Next
Sincerely,
Dèjì Akómöláfé, MCSE+M MCSA+M MCT
Microsoft MVP - Directory Services
www.readymaids.com - we know IT
www.akomolafe.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
________________________________
From: [EMAIL PROTECTED] on behalf of Todd Hofert
Sent: Thu 2/23/2006 8:40 AM
To: [email protected]
Subject: [ActiveDir] MAC Address
I have a client PC that does not list the MAC Address for it's wireless NIC
anywhere in the OS. Is there a way to query that info from the card via
command prompt or some other method?
Thanks
Todd
This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/