Lync Server PowerShell Volume-enabled voice and assigned extension numbers
There is a project where we want to enable voice and set extension numbers for nearly 4,000 existing accounts. Online to see a blog post, described as follows, 4,000 accounts one to set, it is very troublesome, in fact, we can change a way of thinking. We'll tell you how to implement volume-enabled speech and set extension numbers.
650) this.width=650; "title=" 9.png "style=" height:453px;width:668px; "alt=" Wkiol1sviwsaizvwaaifgfb1xs0682.jpg "src= "Http://s3.51cto.com/wyfs02/M00/58/6B/wKioL1SviWSAIZvwAAIFGFb1xS0682.jpg" width= "686" height= "451"/>
Step 1, the presence of a Lync account, the command is as follows:
Get-csuser-resultsize Unlimited | Select-object Samaccountname,enterprisevoiceenabled,lineuri | Export-csv-encoding utf8-notypeinformation C:\userinfo.csv
[Note: The account we have established before, the command is as follows
Get-csaduser-filter {enabled-ne $True}-resultlize Unlimited | Enable-csuser-registrarpool Lyncpool.contosol.com-sipaddresstype userPrincipalName]
650) this.width=650; "title=" 1.jpg "style=" Float:none; "alt=" wkiom1svh6ds5jmdaaethqjgbew625.jpg "src=" http:/ S3.51cto.com/wyfs02/m00/58/6e/wkiom1svh6ds5jmdaaethqjgbew625.jpg "/>
Step 2, after export, such as
650) this.width=650; "title=" 3.png "style=" height:509px;float:none;width:673px; "alt=" wkiol1svigxck0_ Yaaqibjrfqyg700.jpg "src=" http://s3.51cto.com/wyfs02/M01/58/6B/wKioL1SviGXCk0_YAAQiBJrFqyg700.jpg "width=" 1025 " height= "707"/>
Step 3, fill in the full machine number, the extension number will be pulled to the end of Excel line.
650) this.width=650; "title=" 2.png "style=" height:531px;float:none;width:671px; "alt=" Wkiom1svh6gj-6h_ Aaueatlwbic979.jpg "src=" http://s3.51cto.com/wyfs02/M00/58/6E/wKiom1Svh6Gj-6h_AAUeatlWbic979.jpg "width=" 1038 " height= "726"/>
Step 4, put the modified Excel file to Lync Server C disk, and execute the following command:
Import-csv-path C:\userinfo.csv | foreach {set-csuser-identity $_. samaccountname-enterprisevoiceenabled $True-lineuri $_. LineURI}
650) this.width=650; "title=" 4.jpg "style=" Float:none; "alt=" wkiom1svh6oqgisxaaf44kvu83c811.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/58/6e/wkiom1svh6oqgisxaaf44kvu83c811.jpg "/>
Step 5, in a short time, we found all the accounts have been all enabled voice.
650) this.width=650; "title=" 5.jpg "style=" height:512px;float:none;width:670px; "alt=" Wkiol1svignslszvaaptkve94c0433.jpg "src=" http://s3.51cto.com/wyfs02/M02/58/6B/ Wkiol1svignslszvaaptkve94c0433.jpg "width=" 932 "height=" 626 "/>
Step 6, open the account, view, the line URL value has been set correctly.
650) this.width=650; "title=" 6.png "style=" height:549px;float:none;width:672px; "alt=" Wkiom1svh6azoxuqaafvzeuryuo522.jpg "src=" http://s3.51cto.com/wyfs02/M02/58/6E/ Wkiom1svh6azoxuqaafvzeuryuo522.jpg "width=" 664 "height=" 544 "/>
Step 7, our scoring machine is definitely a direct dial, will not like the front input +, below we establish the corresponding dialing rules.
Starting number: 68
Length: 6 bit
Number to add: +
Select the internal part of the machine number at the same time
650) this.width=650; "title=" 7.jpg "style=" height:521px;float:none;width:673px; "alt=" Wkiol1svigyzho7aaalafniszsa083.jpg "src=" http://s3.51cto.com/wyfs02/M00/58/6B/ Wkiol1svigyzho7aaalafniszsa083.jpg "width=" 912 "height=" 649 "/>
Step 8, Test 68001, the rule becomes the +68xxxx we set earlier.
650) this.width=650; "title=" 8.jpg "style=" HEIGHT:541PX;FLOAT:NONE;WIDTH:676PX; "alt=" Wkiom1svh6rjek04aanngrk0opw289.jpg "src=" http://s3.51cto.com/wyfs02/M00/58/6E/ Wkiom1svh6rjek04aanngrk0opw289.jpg "width=" 965 "height=" 688 "/>
This article is from the "Zhou Ping Microsoft Technology Exchange Platform" blog, please be sure to keep this source http://yuntcloud.blog.51cto.com/1173839/1601210
Lync Server 2013 Volume-enabled voice and assigned extension numbers