ADJoin_PreReq_Create_Computer_Account

Prerequisite for ADJoin_Computer. Run this component on an AD server to add the computer account to the domain, then ADJoin_Computer from the computer being joined to finish it up.

ADJoin_PreReq_Create_Computer_Account

This component creates the computer account in AD so ADJoin_Computer can join the computer to the domain. You will supply the computer name of the computer being joined. The OU you would like computer accounts created in is saved as a site variable.

Most of the component is error checking to make sure the variable are there. Then is runs “New-ADComputer -Name <computer name you entered> -AccountPassword <a random string i generated when i created the component> -Path <environment variable with OU path>”

Level
Name
Value
Notes
Component Variable
CompName
computername
computer name of the device you would like to join
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