Join Server \ Computer To Domain Using PowerShell

In this article, I’ll show you how I join my Windows Server Core 2016 to a Domain Controller using PowerShell.

Get Started

Following my coverage of Window Server Core 2016 and the Installation article I published using Hyper-V, Today I’ll join my Server Core to my Domain using PowerShell.

Because I’m using Hyper-V I’ll connect to my Server 2016 using PowerShell Direct and to join the Server to the domain I’ll use the cmdlet below:

Add-Computer -DomainName Test -Credential test\administrator

Done, all I need to do now is to restart the server.

When the Server restarts I can now see that the Server is part of the domain


Posted

in

,

by