GETMAC returns the media access control (MAC) address of all network adapters in the computer and the list of network protocols for each address _dos/bat
Source: Internet
Author: User
Returns the media access control (MAC) address of all network adapters in the computer and the list of network protocols for each address, either from the local area or back through the network.
Parameters
/s Computer
Specifies the remote computer name or IP address (you cannot use a backslash). The default value is the local computer.
/u domain\user
Run with an account permission command from user or domain\user. The default value is the user right of the computer that is currently logged on to the publication command.
/P Password
Specifies the password for the user account that is specified in the/u parameter.
/fo {table| List| CSV}
Specifies the format of the query results output. Valid values are TABLE, LIST, and CSV. The default format for output is TABLE.
/nh
Compresses the column headers in the output. Valid when setting the/FO parameter to TABLE or CSV.
/V
Specifies the output display details.
/?
Display Help at the command prompt.
Comments
Getmac can be used to enter a MAC address into the network analyzer, or to determine the protocols for each network adapter that is currently in use on the computer.
Example
The following example shows how to use the GETMAC command:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.