ADJoin_Computer

Join a computer to the onsite AD Domain. Requires ADJoin_PreReq_Create_Computer_Account be ran first on the domain controller.

ADJoin_Computer

This component performs an unsecured join then reboots the computer. The prerequisite script created a computer account with a password (random string), this script joins the computer using the same password. You do not need to give Admin credentials to a technician to use this component.

The main part of this component is simply running the powershell command “Add-Computer -Domain $env:DomainName -Options UnsecuredJoin,PasswordPass -Credential $joincred” then “Restart-Computer”

Everything else is verifying that the variables are there and usable.

Level
Name
Value
Notes
Site Variable
DefaultComputerADPath
OU=,DC=,DC=
Get this info from ADSEdit
Site Variable
DomainName
i.e. Corp.client.com (or client.local if you still use that naming)

If this component downloads any external files other then grabbing the script from our repository, they will be listed here so you can do your own due diligence if needed.

Filename
URL
Path
Notes
No External Files Downloaded

7/22/2022 – Initial Release

GET IN TOUCH