Solved

enable enterprise voice to all users

Posted on 2014-02-24
3
470 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Set OWA language and time zone in Exchange for individuals, all users or per database.
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now