PowerShell Script for initial server configuration after automation build


I am new to powershell and teraforms. Just wanted to put that out there right now. What I need is help with a powershell script that will configure the following:

Pass credentials so that the following settings can be impletmented after the teraform process has completed the build of the new server on AWS:

– Rename the server/workstation

– After reboot is complete

- join the server/workstation to the domain. - Provided the appropriate creds. to join the system to the domain. - Reboot the server. - Once the server is back online add it to the approprate OU. 

Not sure if scripting all of this makes sense or even possible, but I’d imagine in automation its critical. Let me know.

Thank you,

submitted by /u/chjmail
[link] [comments]

Leave a Reply