# Show all network interfaces to identify VPN adapter Write-Host "All Network Adapters:" -ForegroundColor Cyan Get-NetAdapter | Select-Object Name, InterfaceDescription, Status | Format-Table -AutoSize Write-Host "`nL2TP/VPN Related Adapters:" -ForegroundColor Cyan Get-NetAdapter | Where-Object { $_.InterfaceDescription -like "*WAN*" -or $_.InterfaceDescription -like "*L2TP*" -or $_.InterfaceDescription -like "*VPN*" -or $_.Name -like "*VPN*" } | Select-Object Name, InterfaceDescription, Status, InterfaceIndex | Format-Table -AutoSize Write-Host "`nActive (Up) Adapters:" -ForegroundColor Cyan Get-NetAdapter | Where-Object { $_.Status -eq "Up" } | Select-Object Name, InterfaceDescription, InterfaceIndex | Format-Table -AutoSize