Enable new user to access Lync

Here is the link for the script I am using to enable new user to access Lync (Version 1.0).

The script is wrote in powershell.

It is can be run from command line like schedule task: “C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -command”

Download the Script and rename the suffix from .txt to .ps1

On the first section you need to feel relevant data for your domain and you lync server it runs from it (change the brackets to relevant data, NO NEED BRACKETS!!!):

$mailto = “[xxx@domain.com]”
$mailfrom = “Script@[domain].com”
$smtpsrv = “[SMTPServer]”
$RegPool = “[lyncpool.domin.com]”
$Notuser = “CN=Netbiosdomain$,CN=Users,DC=domain,DC=com”
$sipSuffix = “@[doamin.com]”

I will be glade to get suggestions…

Thanks

Tal

One thought on “Enable new user to access Lync”

  1. It works with SQL Server 2008 and SQL Server 2008 R2. I just added this to the original post as well. SQL Server 2008 and SQL Server 2008 R2 are two diernffet releases of SQL Server.

Leave a Reply

Your email address will not be published. Required fields are marked *