IP 構成ユーティリティ
ipconfig
- C:\Windows\system32\ipconfig.exe /?
Output:
使用法:
ipconfig [/allcompartments] [/? | /all |
/renew [adapter] | /release [adapter] |
/renew6 [adapter] | /release6 [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] |
/showclassid6 adapter |
/setclassid6 adapter [classid] ]
パラメーター
adapter 接続名です。
(ワイルド カード文字 * と ? を使用できます。
例を参照してください)
オプション:
/? このヘルプ メッセージを表示します。
/all すべての構成情報を表示します。
/release 指定されたアダプターの IPv4 アドレスを解放します。
/release6 指定されたアダプターの IPv6 アドレスを解放します。
/renew 指定されたアダプターの IPv4 アドレスを更新します。
/renew6 指定されたアダプターの IPv6 アドレスを更新します。
/flushdns DNS リゾルバー キャッシュを破棄します。
/registerdns すべての DHCP リースを最新の情報に更新し、DNS 名
を再登録します。
/displaydns DNS リゾルバー キャッシュの内容を表示します。
/showclassid アダプターが使用できるすべての DHCP クラス ID を表示
します。
/setclassid DHCP クラス ID を変更します。
/showclassid6 アダプターに許可されたすべての IPv6 DHCP クラス ID を
表示します。
/setclassid6 IPv6 DHCP クラス ID を変更します。
既定では、TCP/IP にバインドされた各アダプターについて、IP アドレス、サブネット
マスクとデフォルト ゲートウェイのみを表示します。
release と renew については、アダプター名が指定されていない場合は、TCP/IP
にバインドされているすべてのアダプターの IP アドレス リースが解放または更新
されます。
Setclassid および Setclassid6 については、ClassId が指定されていない場合
ClassId は削除されます。
例:
> ipconfig ... 情報を表示します。
> ipconfig /all ... 詳細な情報を表示します。
> ipconfig /renew ... すべてのアダプターを最新の情報に
更新します。
> ipconfig /renew EL* ... 名前が EL で始まる接続すべて
を最新の情報に更新します。
> ipconfig /release *Con* ... 名前が一致する接続すべてを解放
します。
例: "Wired Ethernet Connection
1" または "Wired Ethernet
Connection 2"
> ipconfig /allcompartments ... すべてのコンパートメントの情報を
表示します。
> ipconfig /allcompartments /all ... すべてのコンパートメントの詳細な
情報を表示します。
USAGE:
ipconfig [/allcompartments] [/? | /all |
/renew [adapter] | /release [adapter] |
/renew6 [adapter] | /release6 [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] |
/showclassid6 adapter |
/setclassid6 adapter [classid] ]
where
adapter Connection name
(wildcard characters * and ? allowed, see examples)
Options:
/? Display this help message
/all Display full configuration information.
/release Release the IPv4 address for the specified adapter.
/release6 Release the IPv6 address for the specified adapter.
/renew Renew the IPv4 address for the specified adapter.
/renew6 Renew the IPv6 address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
/showclassid6 Displays all the IPv6 DHCP class IDs allowed for adapter.
/setclassid6 Modifies the IPv6 DHCP class id.
The default is to display only the IP address, subnet mask and
default gateway for each adapter bound to TCP/IP.
For Release and Renew, if no adapter name is specified, then the IP address
leases for all adapters bound to TCP/IP will be released or renewed.
For Setclassid and Setclassid6, if no ClassId is specified, then the ClassId is removed.
Examples:
> ipconfig ... Show information
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew any connection that has its
name starting with EL
> ipconfig /release *Con* ... release all matching connections,
eg. "Wired Ethernet Connection 1" or
"Wired Ethernet Connection 2"
> ipconfig /allcompartments ... Show information about all
compartments
> ipconfig /allcompartments /all ... Show detailed information about all
compartments
Return Code: 1
C:\Windows\system32\ipconfig.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 35840bytes |
| Creation Time | 2019/12/07 18:09:33 |
| LastWrite Time | 2019/12/07 18:09:33 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 62f170fb07fdbb79ceb7147101406eb8 |
| SHA1 | d9bbb4e4900ff03b0486fac32768170249dad82d |
| SHA224 | bf9ad1948724aff4c68c16465c8c322684620bf8fc3a500c0a62fc9f |
| SHA256 | 53e000f5aa9b3a00934319db8080bb99cb323bf48fc628a64f75d7847c265606 |
| SHA384 | ae3015ed164e0bd9aa70c8989ea032d2371f71dee2938b0c07284b551fc0e40842f0170bb77306eb03fa8b0767631069 |
| SHA512 | 81bd918ec7617acea3d8b5659ac518e5bc19e585f49bdd601fff6fadea95f2fd57450ee41d181280089b92c949289249a350aa5428e2e31b53fdff2f47c46265 |