How to Install Windows Server 2016 Domain Controller Using PowerShell

How to Install Windows Server 2016 Domain Controller Using PowerShell

 

In this blog post, I’ll show you How to Install Windows Server 2016 Domain Controller Using PowerShell and without using any GUI tools.

Deploying Windows Server Domain Controller using PowerShell can save time and effort when using PowerShell especially In Test and Development environments when new environments are deployed every few days.

With the Introduction of Windows Server 2012 deploying DCs using PowerShell has become easier as all needed modules are now available on the Operating System.

The hardware prerequisite for deploying the DC are very basic:

  • 750MB RAM
  • 1 Core CPU
  • 1 NIC
  • 40GB HDD
  • Windows Server 2016 operating System.

The software prerequisite are built from three PowerShell Module that needs to be activated using the first step In this article as follow

  • AD Domain Services module – These are the AD Domain Installation files and tools.
  • Admin Center Management tools – The PowerShell based Management Console for Active Directory and the Powershell module
  • AD Tools – The old Active Directory Users and Computer management console

Before you start, make sure you check out the other deployment article for Windows Server 2016:

To get started, I’ll open PowerShell and Install the Windows AD Domain Services and RSAT Tools using the cmdlet below:

Note: This Is the prerequisite step.

Add-WindowsFeature AD-Domain-Services, RSAT-AD-AdminCenter,RSAT-ADDS-Tools

Once done, I’ll Install a new Active Directory Forest Called Test.local with the DNS Server role.

Install-ADDSForest -DomainName Test.local -DomainMode default -InstallDns

Next, I’ll type a safe mode password

Next, Confirm that the server will be restarted when done

That’s It, all that needs to be done now Is to sit and wait for the Installation to complete.

As you can see below, Active Directory Administrative Center was Installed and ready to use.

Search








Bitnami