Copy AD Groups member from one Group to another

If you need to copy a AD groups, called “VPN Intern” to a new AD group call “New VPN” then this powershell script can help you.

Get-ADGroupMember -Identity "VPN Intern" | ForEach-Object {Add-ADGroupMember -Identity "New VPN" -Members $_.distinguishedName}

Leave a Reply

Your email address will not be published. Required fields are marked *