Exchange: pipeline to Get-Queue not working remotely

I have this one-liner:
Get-TransportService | Get-Queue

If I run it locally on an Exchange Server Shell I get the expected results.
But when I run it remotely (Exchange PSSession to the same server), the result is empty. I have no problem running them independently. I’ve tried from my Win10 with PS5 and a server with PS4.

Any thoughts?

Try this one, it works for me in my environment.

Get-TransportService | % {$_.name} | Get-Queue