title: powershell exchange online with php - no result
body: <p>I have the following simple powershell script (for exchange online) :</p>
  <pre><code>$PwrShell='C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe';
  exec($PwrShell.' '.'Connect-ExchangeOnline -UserPrincipalName &lt;userprincipal@domain.com&gt;', $output);
  exec($PwrShell.' '.'Get-EXORecipient -Identity &lt;mail@domain.com&gt; | select RecipientTypeDetails', $output_1);
  echo( '&lt;pre&gt;' );
  print_r( $output ); ---&gt; OK get the array result
  echo( '&lt;/pre&gt;' );
  echo( '&lt;pre&gt;' );
  print_r( $output_1 ); ---&gt; KO the array is empty !?
  echo( '&lt;/pre&gt;' );
  
  </code></pre>
  <p>I am 100% regarding the validity of the mail@domain.com variable.</p>
  <p>Does anyone have an idea what I am doing wrong and why the array $output_1 is empty ?
  Thank you
  Andreas</p>