Enable Lync users automatically with PowerShell

To enable a user for Lync, some admin interaction is normally necessary. To make life a bit easier, but to stay in-control at the same time, I wrote a PowerShell script.

The key features are;

  1. Checks for usersobjects in multiple user defined OUs
  2. Checks if the userobjects are enabled
  3. Checks if the userobject has an emailaddress
  4. Enables the account for Lync
  5. Sends an email to a predefined address whenever users are enabled.

You can find the script in the TechNet Gallery:

http://gallery.technet.microsoft.com/Enable-users-for-Lync-from-7c3b9906

 

If you want to schedule it, simply create a scheduled task which runs;

c:\windows\system32\WindowsPowerShell\v1.0\Powershell.exe -file “c:\pathtops1\Enable-Lync.ps1”

2 Responses to Enable Lync users automatically with PowerShell

  1.  

    Pingback Kirk

  2.  

    Pingback Jaime

leave your comment