9
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MACアドレスからIPを調べる PowerShell編

Posted at

arpと同等かそれ以上の機能を持つGet-NetNeighborコマンドレットを使う
-LinkLayerAddressオプションでMACアドレスを指定できる
https://technet.microsoft.com/ja-jp/library/hh826147.aspx

> Get-NetNeighbor -LinkLayerAddress "XX-XX-XX-XX-XX-XX"

ifIndex IPAddress                                          LinkLayerAddress      State       PolicyStore
------- ---------                                          ----------------      -----       -----------
XX      192.168.X.X                                        XX-XX-XX-XX-XX-XX     Stale       ActiveStore
9
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?