GUI - Compare group membership of two users and change user membership

The goal of this script is to grant the destination user all the missing memberships when compared to the source user. Any missing memberships will be added by this script and and any additional memberships will be removed.

4 Star
2,892 times
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
  • possible to select group
    1 Posts | Last post September 10, 2018
    • Hi,
      Is there any possible to add select option to select which group we need?
      Thank you!
  • Multiple Domains
    2 Posts | Last post June 16, 2015
    • Jaap,
      Hello, is there a way to use multiple domains here?  I am looking to add users in one domain to groups located in another.  
    • Hey, as posted in the Compare-ADUserAddGroup.ps1 Q&A section. It is currently not supported but I will implemented this functionality in a future update. I added it to the feature list.
  • Can you indicate what should be the DC to be use?
    2 Posts | Last post March 09, 2015
    • Hello Jaap,
      Thank you for your effort and willingness to share your work.
      Can you select what DC to be used or set a default DC?
      Often I'm getting Source or Destination ID not found but they are actually existing...
      Thank you 
    • Hello TransOne, thanks for your appreciation! So to answer your question, the script was not designed to take in a specific DC as a parameter, but I just updated the script to also support the -ComputerName parameter. By setting this optional parameter you can select the DC that will be used for executing the queries.
      So you can download the updated version, let me know how that works for you.