Entferne Benutzer der Gruppe B aus Gruppe A
Get-ADGroupMember -Identity “GruppeB” | Get-ADUser | ForEach-Object {Remove-ADGroupMember -Identity “GruppeA” -Members $_ -Confirm:$False}
Get-ADGroupMember -Identity “GruppeB” | Get-ADUser | ForEach-Object {Remove-ADGroupMember -Identity “GruppeA” -Members $_ -Confirm:$False}