To join a Windows computer to a domain using PowerShell use the following script. You can read my previous post, here on how to create the password file.
Encrypt password with key using PowerShell. One major issue that I had to overcome, was to hide the password for the scripts that I will use them on schedule and there will be no need to include it as clear text. Using the below I was able to encrypt the password of the user that… Continue reading Encrypt password with key using PowerShell