Is there any vb script
to query
a modem
that is connected to one of the ports of my machine?
How can I query my modem from command prompt?
Answer
netstat -aon
and not use -t
option in all command, or copy to Windows XP netstat
W2K3 version.
All TCP+UDP connection, local address, foreign address, state, PID, Offload State
netstat -aton
previos command output and Application name
netstat -baton
All TCP+UDP connection except multicast or any address
netstat -aton | findstr /V /L "*:*" | more
established connections:
netstat -aton | findstr /V /L "*:*" | find /I "ESTABLISHED" | more
PPTP modem:
netstat -aton | find ":1723" | more
var 2:
netstat -aton | find ":1723" | find /I "ESTABLISHED" | more
L2TP modem:
netstat -aton | find ":1701" | more
security part L2TP connection:
netstat -aton -p UDP | find ":500" | more
Other VPN type:
SSTP - TCP 443; Direct Access - TCP 443;
may be help ...
Comments
Post a Comment