1. batch-Modify-user-dial Policy
SLAVE: Before um is enabled, the strip policy in lync server 2013 is also critical. If you didn't want it before, modify it as follows.
Get-csuser-ou "ou = I-X-cloud, Dc = I-X-cloud, Dc = com"-filter {lineuri-like "Tel: * "} | grant-csdialplan-policyname umdialplan
Ii. lync server 2013 powershell-export-lyncuser
Condition: When lineuri is not empty, export sipaddress, lineuri, and samaccountname.
Get-csuser-ou "ou = I-X-cloud, Dc = I-X-cloud, Dc = com"-filter {lineuri-like "Tel: * "} | select sipaddress, lineuri, samaccountname | export-CSV c: \ lyncuser. CSV
3. Modify-CSV
1) Open-CSV
2) Delete-first line
3) Ctrl + F
4) replace
5) search content (n): SIP:
6) Replace with (e ):
7) search content (n): Tel:
8) Save as CSV
4. batch-enable-um
Enable-user-um-for-each user:
Enable-ummailbox-extension6011-sipresourceidentifier "[email protected]"-Identity "I-X-cloud \ lyncdemo1"-ummailboxpolicy "umdialplan default policy"
Enable-user-um-for-All users-from CSV:
Import-CSV c: \ tool \ lyncuser.csv | foreach {enable-ummailbox-extensions $ _. lineuri-sipresourceidentifier $ _. sipaddress-identity $ _. samaccountname-ummailboxpolicy "umdialplan default policy "}
650) This. width = 650; "Title =" clip_image002 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201408/17/711418_1408276288EoLQ.jpg "Height =" 203 "/>
This article is from the IT-Standardization blog, please be sure to keep this source http://dynamic.blog.51cto.com/711418/1541337