Computer to a join a domain through powershell
Posted on 2010-11-23
Hi guys, Im wondering if you gurus could kindly help out with the following.
We would like to have a computer join our domain to the following OU in our domain:
As this will be part of a build process, the computer name should be a variable
Is there a way to write:
1.Display on the screen if this had been successful, and
2. to a log file the result to see whether this had been successful
Any help greatly appreciated.