Archive

Posts Tagged ‘Active Direcory’

Copy group membership in AD


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: