PowerTip: List All Lync Enterprise Voice Users with PowerShell

Doctor Scripto

Summary: Get a list of users and phone numbers from your Lync infrastructure.

Hey, Scripting Guy! Question How can I use Windows PowerShell to pull a weekly list of all our Lync Telephone numbers?

Hey, Scripting Guy! Answer Use the Get-CSUser cmdlet, and in your Lync Server management shell, type:

GET-CSUser | Where { $_.EnterpriseVoiceEnabled }

If you'd like a list of only the names and phone numbers, use:

GET-CSUser | Where { $_.EnterpriseVoiceEnabled } | Select-Object DisplayName,LineURI

0 comments

Discussion is closed.

Feedback usabilla icon