Copy Users from one AD Group to Another



  • There was a time where I was reading a powershell book on my lunches, but I have not really needed to do anything in powershell for quite some time. After import-module activedirectory:

    Add-ADGroupMember -Identity 'New Group' -Members (Get-ADGroupMember -Identity 'Old Group' -Recursive)

    This seems to hang. Does anyone know the syntax to be more specific in regards to what OU I am copying from and to?



  • NVM. Decided to work randomly.