【cmd】如何扫描局域网内所有设备的ip和mac地址

for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.0.%i

arp -a

你可能感兴趣的:(【cmd】如何扫描局域网内所有设备的ip和mac地址)