User:Rewood/getting a mac address

From WolfTech
Jump to navigation Jump to search

There is a "getmac" command It displays the MAC address for a machine, or even *other* machines. The "systeminfo" command is also pretty interesting.

Example:

getmac /v => displays the MAC address for each interface along with the interface name

getmac /s [computer name] /v => (such as "getmac /s RAVEN /v") will do the same, but give you the MAC address for the named computer. You can substitute and IP address for the name of the computer.


"systeminfo" will display the info for a system, and pretty much uses the same flags as getmac.

systeminfo /S [machine name] /U [domain\user] /P [password]

Used in the manner of => systeminfo /S avroarrow.wolftech.ncsu.edu /U wolftech\rewood.admin /P PASSWORD