Getmac : Display the MAC address for network adapters on a system

143 Views
Published
Getmac - Display the MAC address for network adapters on a system

1. Prepare

- DC11 : Domain Controller

- DC12 : Domain member

- Syntax :
GETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V]


/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which the command should execute.

/P [password] Specifies the password for the given user context. Prompts for input if omitted.

/FO format Specifies the format in which the output is to be displayed.

Valid values: "TABLE", "LIST", "CSV".

/NH Specifies that the "Column Header" should not be displayed in the output.

Valid only for TABLE and CSV formats.

/V Specifies that verbose output is displayed.
2. Step by step

- DC11 :

+ Right-Click Start - Run - cmd :

+ Getmac # Get mac of DC11

+ getmac /s DC12 /u pns\administrator /P 12345a@ # Get mac of DC12

- DC12 : Check MAC

+ Right-Click Start - Run - cmd - Getmac = Compare
Category
Network Cards
Be the first to comment