You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Windows 11 and Intune are no a great combination. When deploying VPN connections to Windows 11 via Intune, they get corrupt. The command get-vpnconnection does result in a strange error.
# Ths Proactive Remediation script checks if the VPN Profile is available. If not, an error will show and will trigger the remediation.
$VPNName = "AOVPN" # Write down the VPN Name as shown in the "Name" output.
Try {
$GETVPN = Get-VPNConnection -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Name