Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: List All Lync Enterprise Voice Users with PowerShell

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>