How to Check VPN Connection Status by Command Line

In this article covers, how to check VPN connection status on your Windows system from the command prompt. “Netsh” command is used to find connection status of different networks, including the VPN. How to Manage Print Jobs from Command Line
How to Check VPN Connection Status by Command Line
You need to run the below command to find the VPN status.

c:\>netsh interface show interface

An example runs on my Windows 7 computer when I am connected to VPN servers.

c:\>netsh interface show interface

Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Disconnected Dedicated Wireless Network Connection
Enabled Connected Dedicated Local Area Connection
Enabled Connected Dedicated Cisco AnyConnect Secure Mobility
Client Connection

I used Cisco AnyConnect to VPN connect, and the netsh command shows that it’s connected currently.

Even if you use a different VPN client, you should have a corresponding network adapter added into your network connections list. Run the above command and figure out your VPN connection and find out the connection status.

Other Article –

How to Open Chrome Browser from Command Line

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.