You can use this recipe to join a Windows-based computer to an Active Directory domain.
There are three ways to accomplish this:
- Attach a Windows-based device to a previously-created computer object.
- Join a Windows-based device to a domain using the GUI.
- Join a Windows-based device to a domain using Windows PowerShell.