?
Solved

enable enterprise voice to all users

Posted on 2014-02-24
3
Medium Priority
?
507 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

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 22

Accepted Solution

by:
Jakob Digranes earned 2000 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

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
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.
Suggested Courses

777 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