I'm trying to add the VPN icon to the menu bar. I've been trying to use this script:
defaults write com.apple.systemuiserver menuExtras -array-add "/System/Library/CoreServices/Menu Extras/vpn.menu"
killall SystemUIServer -HUP
I can type this into terminal and it works perfectly, however if I create it as a script in Jamf, it does not work.
Any ideas?