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
Where-Object {$_.LineUri -like
“TEL:+3581234567”} | ft -property DisplayName, LineURI
And all is well!