Hi, I need to verify that the attached script would work, it is a straightforward script and the exchange portion executes succesfully.
However I would appreciate a powerscript scripter to look over the code and improve the efficiency and add any additional error checking.
This script calls an external vbscipt at one point - this is simply to migrate the ExchMailboxGUID attribute (so the mailbox can be migrated!) - if this can be done in Powershelll then great but so far adding in the Octet string succesfully vis PS is proving troublesome
This script block uses an input csv and all actions need to be completed on each user in the csv.
There is one portion where a user migrated into the target AD needs to be added into a new SAP group in the target AD. This group has the same name as the old group except it is suffixed with the name of the domain.
There are 10 such groups in source that are migrated to target, what I need to do is understand which of the 10 groups the user is a member then ADD that user to the new group that has the 'same name + targetDomain' name.
Hope someone can help, my current script is attached as a txt file.