0%
Installing an Active Directory Child Domain with PowerShell

Installing an Active Directory Child Domain with PowerShell

This guide shows you how to set up a child domain in an Active Directory forest, specifying the parameters for database storage...

10-15 min

Installing an Active Directory Child Domain with PowerShell

This guide shows you how to set up a child domain in an Active Directory forest, specifying the parameters for database storage, DNS configuration, and the domain functional level.

Installing the Active Directory Domain Services (AD DS) Role

Before you can create a child domain, install the AD DS role on the server.

# Installs the Active Directory Domain Services role and the management tools
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools
  • Purpose: Install the Active Directory Domain Services (AD DS) role along with the management tools needed to set up an Active Directory domain.
  • Explanation:
    • Install-WindowsFeature: Installs a feature on the server.
    • -Name AD-Domain-Services: Specifies the AD DS role, which is required for Active Directory.
    • -IncludeManagementTools: Also installs the AD DS management tools.

Configuration Variables for the Child Domain Installation

Define variables to configure the child domain with the options you want. This makes it easier to customize and organize the information.

Link copied!