This forum is closed. Thank you for your contributions.
Out of scope for this forum, your question is not related to training and certification.
Danny
Your question is a little vague about exactly what you're trying to accomplish.
You may want to check this article for help: Powershell: Detecting Network and VPN Connections
Reference: Get-VpnConnection
Hope that helps,
Phil Streiff, MCDBA, MCITP, MCSA