Scripting - Neths

NETSH Shell tool permette di pingare il Default Gateway, DHCP Servers, Host IP Address, DNS e WINS Servers (in Search Order) tutto insieme.



NETSH DIAG PING ADAPTER

A questo punto è sufficiente aspettare i relativi ping e risposte

Si può ridirezionare i ping su un file di testo:

NETSH DIAG PING ADAPTER > C:\LanPing.txt

Ecco altri comandi:

NETSH DIAG PING IEPROXY  - Ping Internet Explorer's proxy
NETSH DIAG PING IP       - Ping only the assigned IP Addresses for each adapter
NETSH DIAG PING IPHOST   - Ping a specified IP Address or Host Name
NETSH DIAG PING LOOPBACK - Ping 127.0.0.0
NETSH DIAG PING MAIL     - Outlook Express Mail Server (Not Exchange Servers configured in Outlook)
NETSH DIAG PING NEWS     - Ping the News Server (if configured in Outlook Express)