The Lync Control panel is great for general user management BUT..it has limitations. Some of these I come across regularly are as follows:-
Private numbers are added from the Management Shell ONLY
Can’t set a PIN as you create the user in one step
Voice mail\Unified Messaging
This script is tested on these platforms by the author. It is likely to work on other platforms as well. If you try it and find that it works on another platform, please add a note to the script discussion to let others know.