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.
| 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 |
- Windows PowerShell 5.1+ or PowerShell 7+
- Active Directory PowerShell module (RSAT)
- Domain Admin credentials
- Run as Administrator
- Build-OUStructure — Creates the full OU hierarchy for the lab domain
- Create-TestUsers — Creates test user accounts across departments
- Create-SecurityGroups — Creates department and role based security groups
- Add-UsersToGroups — Assigns test users to appropriate groups
- GPO-Reference — Documentation of GPO settings applied in the lab
- AD-Design — AD architecture and design decisions
- 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