Add-ADGroupMember -Identity 'DestinationGroup' -Members $(Get-ADGroupMember -Identity 'SourceGroup')
On Tue, Jul 22, 2014 at 10:33 AM, Marcum, John <jmar...@babc.com> wrote: > I'm sure this is really easy but…. I need to copy all of the users in > Group A to Group B with PoSh. How do I do that? > > > > I see that *Get-ADGroup* GroupA *-properties* members gets me all the > members and *Add-ADGroupMember **-Identity* GroupB would be used to add > the members into the second group*.* How do I pipe the members out and in? > > > > > > > > > * ------------------------------ * > > * John Marcum* > > MCITP, MCTS, MCSA > * Desktop Architect* > > * Bradley Arant Boult Cummings LLP* > * ------------------------------ * > > [image: H_Logo] > > > > ------------------------------ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you have > received this message in error, please notify the sender by replying to > this e-mail and then delete it from your computer. > > -- Isaac Holmes IT Engineering Specialist University of Notre Dame 320 IT Center Notre Dame, IN 46556 (574) 631-3254