active directory install windows 11

If the goal is strictly to spin up an AD environment for a few hours for scripting tests, users can utilize combined with a PowerShell script (often referred to as the "Sandbox-AD" project on GitHub).

To allow the Windows 11 host and the future Domain Controller to communicate, an Internal Virtual Switch is required.