The Surly Admin

Father, husband, IT Pro, cancer survivor

Single Click Script to Add a Computer to the Domain

This script was inspired by a simple script I saw posted on Spiceworks, you can find the original here.  I didn’t want to post my take on the script on Spiceworks because it seemed a little rude, but I had some problems with this script.  The primary one, and this one trumps all others, was that you’re storing an extended security password in clear text!  Now, you could protect it by putting security permissions around the share where this is located and those security permissions are going to be for people who would probably know that password anyway but it still didn’t work for me.  We need a more secure method.

Continue reading


August 10, 2012 Posted by | PowerShell | , | 7 Comments