Sunday, December 10, 2017

How to copy from All members in a ADGroup to Another

How to copy from All members in a  ADGroup  to Another


Get-ADGroupMember -Identity 'Old Group' | ForEach-Object {Add-ADGroupMember -Identity 'New Group' -Members $_.distinguishedName}

Regards
Bijesh

No comments:

Post a Comment