title: Copy members from one Distribution Group to another Distribution Group in PowerShell
body: <p>**I am trying to copy members from one Distribution group to another Distribution but the members are distribution groups not users\mailbox RecipientType: MailUniversalDistributionGroup </p>
  
  <blockquote>
    <p><code>Get-DistributionGroupMember "A" | Get-mailbox |
    Add-DistributionGroupMember “b”</code></p>
  </blockquote>
  
  <p><strong>This doesn't work because members of DL A are Distribution group (nested DLs )  not users</strong>  **another way I tried ** </p>
  
  <blockquote>
    <p><code>$bankmanager = Get-DistributionGroupMember -Identity "A" | select
    DistinguishedName add-distributiongroupmember -Identity "B" -Member
    $bankmanager</code></p>
  </blockquote>
  
  <p>error</p>
  
  <pre><code>getting Add-DistributionGroupMember : Cannot convert 'System.Object[]' to the type 
  'Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter' required by parameter 'Member'. Specified method is not supported.**
  </code></pre>