Good afternoon,
I have the following script that is ran manually with elevated rights to join a windows 7 workstation to a domain and to the right OU.
Add-Computer -domainname "org domain" -OUPath "OU=folder1,DC=part1,DC=part2,DC=part3" -cred domain\ -passthru -verbose
This was working up to a month ago. If I remove, the -OUPath part of the script, it works as its meant to. Please if anyone has any ideas that can help, it would be great.
Warm Regards,