I have a configuration profile that adds our VPN configuration. I then have a policy that kicks off this simple bash script.
open “/System/Library/CoreServices/Menu Extras/vpn.menu”
All this does is check the box for "Show VPN status in the menu bar"
This is the error that I'm getting.
Script result: The files /“/System/Library/CoreServices/Menu and /Extras/vpn.menu” do not exist.
When I run the command in the terminal it completes successfully.