Hello! I am trying to script my join to domain process as much as possible with powershell! I have everything down to a working point on it's own, but i'm having issues bringing them all together.
My problem lies in the New-ADcomputer command, I need to be able to put a specific service account as the one who has rights to join to the domain, (such as if you use the GUI, It asks User or Group and the Default is Domain Admins). Any help would be awesome! Even if it's a "that can't be done".