PS HarriJaakkonen :~/Blog/Posts> cat ./find-lync-user-with-specific-line-uri.html

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!