Hi Team,
Please help here ---
I am pushing a PS script to Intune machines on my tenant to change the Ethernet network adapter's network category from Public to private. This is to turn off the VPN automatically when the machine is on an Ethernet network.
For some reason, the script is getting failed for scenarios when the machines are not on LAN and connected to Wifi and when the machines gets to LAN, so the VPN does not turned off automatically.
Is there a way to resolve this issue?