Only the first command regarding MaxRecipientEnvelopeLimit returns a value. The next command does not return anything. When I switch the commands around, the same happens, only the 1st command runs.
There are some known problems I’ve heard of regarding Exchange and implicit remoting. I’ll see if I can point someone to look at this, who might have more experience.
I can confirm this is an issue, although I can’t explain it. I ran the commands directly on a server with Exchange 2010 SP3 to eliminate any remoting issues. Server is running Windows Server 2008 R2 with SP1. PowerShell version is 2.
@Mike F Robbins: Yes, you hit it spot on, this is what I get as well. I am running Exchange 2013 on Server 2012. Powershell Version 3. So apparently the issue persists in later versions…
Interestingly, if I try another set of Exchange cmdlets, it works to a certain extent. Take for example,
It’s because the first command sets the pipeline up for only the Identity and MaxRecipientEnvelopeLimit properties. When the second command runs, the pipeline doesn’t know anything about the MaxReceiveSize property so only the Identity property results are displayed for that command (the second one). You could jam any two commands together and have the same issue.
Notice the handles property doesn’t show up in the results of this script and the second row for the id property is blank: