Solved

Powershell Script to Enable EnterpriseVoice

Posted on 2013-05-11
1
303 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
Comment Utility
Use 'export-csv' cmdlet to export in csv format instead of >.
Select-object displayname,....,....,.... | export-csv -path c:\userdetails.csv -notypeinformation
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This article will help you understand what HashTables are and how to use them in PowerShell.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

10 Experts available now in Live!

Get 1:1 Help Now