Lync 2011 for Mac launch script help.

We've got a big problem in our company with Mac users turning their Lync off, despite the policy being to keep it running.  I want to make a Dell Kace script to launch it, and I have one that mostly works, but not the same as clicking the icon.  If a user clicks the icon it launches Lync and logs them in, no problem, if I launch it via the script it comes up to the login window demanding a password instead of just launching.  I can't seem to find any information on command line options for Lync 2011, does anyone have any suggestions?  The script is below.

#!/bin/bash
sudo -u `who | grep console | awk '{print $1}'` open /Applications/Microsoft\ Lync.app
exit
exit

July 7th, 2015 1:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics