Home > Microsoft > Copy group membership in AD

Copy group membership in AD

December 22, 2013

To copy member from one group to another you can (of cource) use Powershell. This copies the members of Group1 into members of Group2.

Get-ADGroupMember -Identity “Group1” | ForEach-Object {Add-ADGroupMember -Identity “Group2” -Members $_.SamAccountName}

%d bloggers like this: