Powershell – Copy users in group

Here is a simple powershell to copy all users in a group to another.

$objGroupMembers = Get-ADGroupMember -Identity GRP-MySourceGroup
foreach($objUser in $objGroupMembers)
{
     Add-ADGroupMember -Identity GRP-MyDestGroup -Members $objUser
}