Exchange: pipeline to Get-Queue not working remotely

This topic contains 1 reply, has 2 voices, and was last updated by  Aaron King 2 years, 6 months ago.

  • Author
  • #33198

    Valentin Pechersky

    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?

  • #33210

    Aaron King

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

    Get-TransportService | % {$} | Get-Queue

You must be logged in to reply to this topic.