getmac

管理者がシステム上ネットワークアダプターの MAC アドレスを表示することができます。

NIC の MAC 情報の表示


getmac

  • C:\Windows\system32\getmac.exe /?

Output:


GETMAC [/S システム [/U ユーザー名 [/P [パスワード]]]] [/FO 形式] [/NH] [/V]

説明:
    このツールを使って、管理者がシステム上ネットワーク
    アダプターの MAC アドレスを表示することができます。

パラメーターの一覧:
    /S        システム             接続先のリモート システムを指定します。

    /U        [ドメイン\]ユーザー  コマンドを実行するユーザー コンテキスト
                                   を指定します。

    /P        [パスワード]         与えられたユーザー コンテキストのパスワード
                                   を指定します。省略した場合は入力する必要が
                                   あります。

    /FO       形式                 出力を表示する形式を指定します。
                                   有効な値: "TABLE""LIST""CSV"

    /NH                            列ヘッダーが出力に表示されないように指定
                                   します。
                                   TABLE および CSV の形式で有効です。

    /V                             詳細な情報を出力で表示するように指定します。

    /?                             このヘルプを表示します。

:
    GETMAC /?
    GETMAC /FO csv
    GETMAC /S system /NH /V
    GETMAC /S system /U user
    GETMAC /S system /U domain\user /P password /FO list /V
    GETMAC /S system /U domain\user /P password /FO table /NH

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

Description:
    This tool enables an administrator to display the MAC address
    for network adapters on a system.

Parameter List:
    /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.

    /?                       Displays this help message.

Examples:
    GETMAC /?
    GETMAC /FO csv
    GETMAC /S system /NH /V
    GETMAC /S system /U user
    GETMAC /S system /U domain\user /P password /FO list /V
    GETMAC /S system /U domain\user /P password /FO table /NH

Return Code: 0


C:\Windows\system32\getmac.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size90112bytes
Creation Time2019/12/07 18:09:04
LastWrite Time2019/12/07 18:09:04
ProductVersion10.0.19041.1889
FileVersion10.0.19041.1889 (WinBuild.160101.0800)
HashValue
MD57d4b72dff5b8e98dd1351a401e402c33
SHA140810fb6eee8856b1884ecb528c88b97e447c5d8
SHA224042f0ef234e011c44383446e7444891f5f75bcd365dbabe6a015e4f6
SHA256467ce33b5145c6e71499f32139f14d81b47c38f11dca26b330367add263dba12
SHA384bab432f0e2300ed98bac9b8918d9ffff322250c40254fa0706761e889c1cbb1e47ff2484ca495ef208ce4b5c03e8a08c
SHA5125a26e5e22ad1005e67f6b66187df4e6f75f1b611b2c8d615af34bd61e94fd48fc64b606e7c43d608d112096c7bbaa8fddfc8a9acb603ab137e71d85783b98fd5
Built with Hugo
テーマ StackJimmy によって設計されています。