This is a very cool script and I am trying to use it at my work. However, I keep getting a $joinDomainResult = 1355 which I looked up and found this: 1355 Error Which means failure to find or connect to a domain controller. But the weird thing is that is finds/queries the Domain controller fine. Can anyone help ? Thanks