Building on top of my previous post on securing a password here and using it to join to a domain here, we can use this to define a user account to copy files from a workstation to a server.
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
Download BGInfo from https://technet.microsoft.com/en-us/sysinternals/bb897557.aspx Once the download is completed and extracted there will be two files.