Is it possible to use VBScript or commandline to grab the server IP of a PPP VPN under Windows?
Note this is not VPN dialup server IP.
Is it possible to use VBScript or commandline to grab the server IP of a PPP VPN under Windows?
Note this is not VPN dialup server IP.
Copyright © 2021 Jogjafile Inc.
You can use VBScript to get the information from WMI. There are plenty of networking scripts here.
For example, use the following script to get the IP of a given net adapter. Just be sure to provide your VPN's name instead of the "Local Area Connection 2" string: