Skip to content

andificus/active-directory-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Active Directory Lab

PowerShell scripts to build and manage an Active Directory lab environment. Covers OU structure, test users, groups, and GPO documentation.

Built to simulate a real small business AD environment for learning, testing, and demonstrating AD administration skills.


📁 Structure

Folder Purpose
OUStructure/ Scripts to build the OU hierarchy
Users/ Scripts to create test users
Groups/ Scripts to create and manage security groups
GPO/ GPO documentation and settings reference
Docs/ AD design documentation

⚙️ Requirements

  • Windows PowerShell 5.1+ or PowerShell 7+
  • Active Directory PowerShell module (RSAT)
  • Domain Admin credentials
  • Run as Administrator

📌 Scripts

OU Structure

  • Build-OUStructure — Creates the full OU hierarchy for the lab domain

Users

  • Create-TestUsers — Creates test user accounts across departments

Groups

  • Create-SecurityGroups — Creates department and role based security groups
  • Add-UsersToGroups — Assigns test users to appropriate groups

GPO

  • GPO-Reference — Documentation of GPO settings applied in the lab

Docs

  • AD-Design — AD architecture and design decisions

🧠 Design Goals

  • Mirror a real small business Active Directory environment
  • Practice OU design, delegation, and group policy
  • Provide a repeatable lab setup that can be torn down and rebuilt
  • Document decisions as if handing off to another engineer

About

PowerShell scripts to build and manage an Active Directory lab environment including OU structure, users, groups, and GPOs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors