Solved

enable enterprise voice to all users

Posted on 2014-02-24
3
475 Views
Last Modified: 2014-04-06
Dear All,

I have Lync 2013 installed in my environment, i'm looking for a command to enable "Enterprise Voice" option for all users from one command, could you please help.
0
Comment
Question by:Rhala
  • 2
3 Comments
 
LVL 21

Expert Comment

by:Jakob Digranes
ID: 39882028
Well .... You need to assign LineURI's to all users aswell, and you need to get those numbers from somewhere, most likely AD.

you can use this;

get-Csuser | set-CsUser -EnterpriseVoiceEnabled $True
0
 

Author Comment

by:Rhala
ID: 39882068
is there a command to read the lineURI from AD and reflect the same in Lync?
0
 
LVL 21

Accepted Solution

by:
Jakob Digranes earned 500 total points
ID: 39882112
I've used this one previously ---

Get-ADGroup -Identity 'LyncUserGroup' | Get-ADGroupMember -verbose | foreach {get-csaduser -identity $_.Name | foreach {
$sipit = $_.ipphone
$sipit = "tel:" + $sipit
Set-CsUser -Identity $_.Name -EnterpriseVoiceEnabled $true -LineURI $sipit
}}

Where LyncUserGroup is a custom group in AD where all enabled users are added.


Got the script from this blog; http://tech.rundtomrundt.com/
and used it several times.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help you understand what HashTables are and how to use them in PowerShell.
A brief introduction to what I consider to be the best editor for PowerShell.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question