有关正在使用的VPN的详细信息

时间:2018-09-22 10:09:33

标签: windows powershell cmd protocols vpn

我想我丢失了一些东西,因为我只在与所有其他信息分开的列表中找到了VPN协议信息(我的主要兴趣)。为了显示VPN信息,我发现3个cmd命令很有用:

ipconfig /all
netsh interface ip show config
netstat

仅在netstat列表的底部,我看到元素vpn:pptp清楚地表明了所使用的协议。

也许有一个cmd / PowerShell命令可以在一个地方显示VPN信息?

1 个答案:

答案 0 :(得分:1)

您是否尝试过Get-VPNConnection cmdlet? 您可以使用

找到有关该cmdlet的更多信息。
get-help get-VPNConnection

有帮助吗?