$trustedAppPattern = ""
Get-CsTrustedApplicationEndpoint | Where-Object -Property OwnerUrn -In (Get-CsTrustedApplication | Where-Object -Property ApplicationId -Like $trustedAppPattern | Select -ExpandProperty ApplicationId) | Select OwnerUrn, SipAddress
POWERSHELL