Solved

Powershell Script to Enable EnterpriseVoice

Posted on 2013-05-11
1
304 Views
Last Modified: 2013-05-28
Howdy all,

I have just finished deploying the dialin conferencing piece of my MS Lync 2010 implementation.  I am excited to provide my users with this funtionality that they have been asking for.  The only issue I see is enabling all of them in an efficient manner.  I was hoping to write a brief powershell script to do the heavy lifting for me but I need a little guidance.  The users are already enabled for MS Lync but need to have two things done for each user.
Users Require:
1. EnterpriseVoiceEnabled = True
2. LineURI = tel:+11234567890 This must be unique for each user.

I figured I would start by getting a list of my users to begin with.  I wanted to gather the necessary information and export it to a file for use elsewhere.  The command below will export it to a file but i need it in a more usable format such as CSV.  I tried doing format-table but it cuts off all of the entries.  Any suggestions?

Get-CsUser | Select-Object DisplayName,SamAccountName,UserPr
incipalName,LastName,FirstName,WindowsEmailAddress,SipAddress,EnterpriseVoiceEna
bled,LineURI > c:Lyncusers.txt
0
Comment
Question by:bullfrog264
1 Comment
 
LVL 12

Accepted Solution

by:
Vaseem Mohammed earned 500 total points
ID: 39158669
Use 'export-csv' cmdlet to export in csv format instead of >.
Select-object displayname,....,....,.... | export-csv -path c:\userdetails.csv -notypeinformation
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

948 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

23 Experts available now in Live!

Get 1:1 Help Now