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.