Answered by:
Searching for Private Line URI's in powershell

Question
-
I know how to find the private line assigned to a particular user:
get-csuser -identity martinp | fl *
BUT, how do you find all private line's assigned in your whole enterprise, as you may not know who has a private line and who doesnt. All help appreciated.
Friday, October 5, 2012 9:36 AM
Answers
-
Get-CsUser -Filter {PrivateLine -ne $Null} | Select-Object DisplayName,PrivateLine | out-string -stream
Thank you.
- Marked as answer by Philmartin79 Friday, October 5, 2012 2:55 PM
Friday, October 5, 2012 2:24 PM
All replies
-
Use this:
get-csuser | format-table -property displayname,privateline
Thank you.
Friday, October 5, 2012 1:49 PM -
That starts to print everyone in our Lync infrastructure, about 3000 people. Is there not a command that will just bring up only the people who have a private line configured?
Phil
Friday, October 5, 2012 2:18 PM -
Get-CsUser -Filter {PrivateLine -ne $Null} | Select-Object DisplayName,PrivateLine | out-string -stream
Thank you.
- Marked as answer by Philmartin79 Friday, October 5, 2012 2:55 PM
Friday, October 5, 2012 2:24 PM -
That did the trick! Brilliant, thank you!
Phil
Friday, October 5, 2012 2:55 PM -
Thanks IgorMonday, March 19, 2018 11:43 PM