Move OU when target computer is in a different forest

Dec 11, 2014 at 9:08 PM
I have set up the Web services and am calling the Z_Move computer_targetOU. however, i use the same image for two forests within our domain. the webservice and user account being used to move the computer are a part of f1.domain.com. If i build a computer in the f1.domain.com, there is no issue. however if i try to build a computer in f2.domain.com, the script fails. Looking over the logs i find that there is no ObjectDN set when using this script (and the script doesn't appear to support this third variable). Since ObjectDN isn't set, it is defaulting it to f1.domain.com and searching for the computer in the f1.domain.com (where it doesn't exits) causing the failed script.

Has anyone found a way to use these scripts and the web service with multiple forests like this?

Thanks!