Find Lync user with specific Line Uri

Quick tip of the day!

Tried this one?
 

Get-CsUser –Filter {LineUri
–eq “TEL:+3581234567”}

And got error:

It won’t work. Try this one.

Get-CsUser |
Where-Object {$_.LineUri -like
“TEL:+3581234567”} | ft -property DisplayName, LineURI

And all is well!

Author: Harri Jaakkonen

Leave a Reply

Your email address will not be published. Required fields are marked *