Skip to content

eyouel-cloud/AD-MultiDomain-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

AD Multi-Domain Active Directory Lab (corp.lab)

This lab simulates a small enterprise Active Directory environment with DNS, DHCP, and Windows 11 clients.

Objectives

  • Install and configure Windows Server 2022 as a domain controller.
  • Create an internal domain: corp.lab.
  • Configure DNS and DHCP for a host-only / internal lab network.
  • Design an OU structure for users, computers, and service accounts.
  • Apply Group Policy Objects (GPOs) for security hardening and UX.
  • Join Windows clients to the domain.
  • Use PowerShell to automate common AD tasks (OU creation, bulk users, GPO linking).

Topology

  • DC01 – Windows Server 2022, AD DS, DNS, DHCP
  • WIN11-CL01 – Windows 11 client joined to corp.lab
  • (Optional) Additional clients / servers

Network Example

  • Network: 192.168.10.0/24
  • DC01: 192.168.10.10
  • DNS: 192.168.10.10
  • DHCP Scope: 192.168.10.50 – 192.168.10.200

High-Level Steps

  1. Create an internal / host-only network in your hypervisor.
  2. Install Windows Server 2022, name it DC01, assign static IP, set DNS to itself.
  3. Add Active Directory Domain Services + DNS roles.
  4. Promote to new forest: corp.lab.
  5. Add DHCP role, create scope, authorize server.
  6. Design and create OU structure (see below).
  7. Create and link security baseline GPOs.
  8. Install Windows 11, join to corp.lab.
  9. Use PowerShell scripts to:
    • Create OUs.
    • Bulk-create users from CSV.
    • Create/link a baseline GPO.

Example OU Structure

  • corp.lab
    • OU=Servers
    • OU=Workstations
    • OU=Departments
      • OU=IT
      • OU=Finance
      • OU=HR
    • OU=ServiceAccounts

Scripts in This Repo

  • Scripts/Create-OUs.ps1 – Builds the OU structure.
  • Scripts/Bulk-User-Creation.ps1 – Creates users from CSV.
  • Scripts/Configure-GPO.ps1 – Creates and links a baseline GPO.

How This Relates to My Real-World Experience

This lab represents the same kind of work I’ve done in real environments:

  • Designing OU structures and domain layouts.
  • Deploying and supporting AD, DNS, and DHCP.
  • Automating provisioning and configuration with PowerShell.
  • Applying security baselines via Group Policy.

Author

Eyouel Melaku

About

Active Directory multi-domain lab with PowerShell automation, OUs, GPOs, and DHCP/DNS configuration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published