In previous Exchange versions to check a queue on a specific server you could use the Get-TransportServer command, however if you now run this on Exchange 2019, you receive a nice lengthy warning to say it is going to be removed in future versions of Exchange, yet we are on the latest so far:
As you can see above you, it gives the nice warning, running the Get-TransportService does not which is the newer command to use and gives you the same result:
Hope it helps.