Get-CsOnlineUser | where-object {($_.LineURI -ne $null) -and ($_.EnterpriseVoiceEnabled -eq $true) -and ($_.Department -ne "Microsoft Communication Application Instance")} | Sort-Object Dialplan | ft DisplayName,LineURI,DialPlan,City,Department