Example: Mount a Network Share on Mac Endpoints

To mount a network share after establishing a VPN connection, reference the following script from a command plist entry for a post-vpn-connect event:
For a script that you can copy and paste, go here.
#!/bin/bash mkdir $1 mount -t smbfs //username:password@10.101.2.17/shares/Departments/Engineering/SW_eng/username/folder $1 sleep 1
Code copied to clipboard
Unable to copy due to lack of browser support.

Related Documentation