Reference Links:
Get-csuser https://technet.microsoft.com/EN-US/library/06f36c53-3a5e-4e79-b4f2-8c1aa7e6bf71 (ocs.14). aspx
650) this.width=650; "title=" 4e149c5b11bf464d95474e21e214fc78 "style=" border-top:0px;border-right:0px; border-bottom:0px;border-left:0px; "border=" 0 "alt=" 4e149c5b11bf464d95474e21e214fc78 "src=" http://s3.51cto.com/ Wyfs02/m01/78/14/wkiol1z1wkhd0fbaaabt-k3bj0u978.jpg "height=" 173 "/>
Inspired by the help document above, the final command is as follows.
Filter all Lync users voicepolicy for OCS R2, and then export the filtered results to a txt document.
650) this.width=650; "title=" 3t$}e2$7xh ' 9 "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0 px; "border=" 0 "alt=" 3t$}e2$7xh ' 9 "src=" Http://s3.51cto.com/wyfs02/M02/78/14/wKioL1Z1WKKD9nZ7AAA1Nhj91JE361.png " Height= "/>"
This article from "Zeng Hung Xin Technical column" blog, declined to reprint!
Powershell-lync: How to query the Voice policy used by the user