Solved

Powershell Script to Enable EnterpriseVoice

Posted on 2013-05-11
1
305 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

Suggested Solutions

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
A procedure for exporting installed hotfix details of remote computers using powershell
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

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