Quick access

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.

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
Vlad

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.