Hello, im wanting a script to join a computer to a domain. I have a lot of machines that have been sysprep'd and i would like a way to automate joining a domian.
I know its possible within the sysprep.inf file but its not secure because sysprep.inf is not securly deleted (can be retrieved along with the passwords). From the documentation i read, it says this is possible throught WMI but im not too sure on how to do this and whether this would be the best method. Any help or advice welcome?