This uses PowerShell to move a user from one group to another group.
dsget user “cn=User1,ou=West,dc=MyDomain,dc=com” -memberOf | dsmod
group -addmbr “cn=User2,ou=West,dc=MyDomain,dc=com”
Lab Core | The Lab of MrNetTek
A blog about IT, technical solutions, and code.