title: -OutVariable does not work on Get-DistributionGroup or Get-DistributionGroupMember
body: <p>I'm using ExchangeOnlineManagement version 2.0.4 and I've stumbled across an issue with the <code>-OutVariable</code> parameter of <code>Get-DistributionGroup</code> and <code>Get-DistributionGroupMember</code>. I've tested on several machines and the issue exists on each. I haven't found any relevant information online but before opening an issue. I'd like to confirm if others suffer the same affliction.</p>
  <p>Environment information</p>
  <pre><code>Get-Module ExchangeOnlineManagement
  
  ModuleType Version    Name                                ExportedCommands
  ---------- -------    ----                                ----------------
  Script     2.0.4      ExchangeOnlineManagement            {Get-EXOCasMailbox, Get-EXOMailbox, Get-EXOMailboxFolderPe...
  
  
  $PSVersionTable
  
  Name                           Value
  ----                           -----
  PSVersion                      5.1.18362.1171
  PSEdition                      Desktop
  PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
  BuildVersion                   10.0.18362.1171
  CLRVersion                     4.0.30319.42000
  WSManStackVersion              3.0
  PSRemotingProtocolVersion      2.3
  SerializationVersion           1.1.0.1
  </code></pre>
  <p>If I were to file an issue, I'm not sure if I would file it on the main Powershell\Powershell repo or another (that I've yet to find.) The PSGallery page for <a href="https://www.powershellgallery.com/packages/ExchangeOnlineManagement/2.0.4" rel="nofollow noreferrer">this module</a> unfortunately doesn't have a link to a project.</p>
  <p>Some examples that demonstrate the issue</p>
  <p><strong>Example 1</strong></p>
  <pre><code>Get-DistributionGroup -OutVariable groups
  
  $groups  # empty!
  </code></pre>
  <p><strong>Example 2</strong></p>
  <pre><code>$groups = Get-DistributionGroup
  
  $groups.id | Get-DistributionGroupMember -OutVariable members
  
  $members # nada! 
  </code></pre>
  <p>Thank you in advance for your time.</p>