Exchange: pipeline to Get-Queue not working remotely

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Aaron King Aaron King 1 year, 7 months ago.

  • Author
  • #33198
    Profile photo of Valentin Pechersky
    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
    Profile photo of Aaron King
    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.