Re: [scripting] Copy all AD Group Members to Another Group

2014-07-22 Thread Isaac Holmes
Add-ADGroupMember -Identity 'DestinationGroup' -Members $(Get-ADGroupMember -Identity 'SourceGroup') On Tue, Jul 22, 2014 at 10:33 AM, Marcum, John 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 tha

[scripting] Copy all AD Group Members to Another Group

2014-07-22 Thread Marcum, John
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