[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

enable enterprise voice to all users

Posted on 2014-02-24
3
Medium Priority
?
543 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 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Loops Section Overview
Screencast - Getting to Know the Pipeline

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