Would you like to learn how to add a computer to the domain using Powershell? In this tutorial, we are going to show you how to use Powershell to add computers to the Active Directory domain.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Related tutorial – PowerShell
On this page, we offer quick access to a list of tutorials related to PowerShell.
Tutorial Powershell – Add a computer to the domain
As an Administrator, start an elevated Powershell command-line.
Add a computer to the domain.
Enter the credentials to add a computer to the domain.
Optionally, add the computer to the domain using a stored credential.
Restart the computer using Powershell.
In our example, we add a computer named TECH-SRV02 to the domain.
Congratulations! You are able to add a computer to the domain using Powershell.