Would you like to learn how to copy all group memberships from a user account to another using Powershell? In this tutorial, we are going to show you how to copy all group memberships from an Active Directory user account to another on a computer running Windows.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Related tutorial – PowerShell
On this page, we offer quick access to a list of tutorials related to PowerShell.
Tutorial Powershell – Copy the Active Directory groups from a user to another
As an Administrator, start a new Powershell command-line.
List all the Active Directory groups from a user account.
Here is the command output.
Copy the Active Directory groups from a user to another.
In our example, all Active Directory groups from the user account named GOKU were copied to the account named GOHAN.
Verify the new user account group membership.
Here is the command output.
Congratulations! You are able to copy the Active Directory groups from a user to another.