Solved

Powershell Script to Enable EnterpriseVoice

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 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