I have been asked to write a script to join 2500 non domain machines to a domain. I also have to check that they can communicate with the domain controller first and that the ho